diff options
author | Fabian Keller <bluenote10@users.noreply.github.com> | 2017-12-14 14:02:13 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-12-14 14:02:13 +0100 |
commit | 6df6ec27ec573fc7f619f7bf9fece6d6b0dc931f (patch) | |
tree | f9eadca2e1b46112ec11da257cb664010a369a8d /tests/ccgbugs | |
parent | bc1123536e36a222dc3bf65c40c6ceee07da6499 (diff) | |
download | Nim-6df6ec27ec573fc7f619f7bf9fece6d6b0dc931f.tar.gz |
Improved collection-to-string behavior (#6825)
Diffstat (limited to 'tests/ccgbugs')
-rw-r--r-- | tests/ccgbugs/t6279.nim | 2 | ||||
-rw-r--r-- | tests/ccgbugs/tbug1081.nim | 2 | ||||
-rw-r--r-- | tests/ccgbugs/tconstobj.nim | 2 | ||||
-rw-r--r-- | tests/ccgbugs/tobjconstr_regression.nim | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/ccgbugs/t6279.nim b/tests/ccgbugs/t6279.nim index 37345d807..5a3d6768c 100644 --- a/tests/ccgbugs/t6279.nim +++ b/tests/ccgbugs/t6279.nim @@ -1,6 +1,6 @@ discard """ cmd: "nim c -r -d:fulldebug -d:smokeCycles --gc:refc $file" -output: '''@[a]''' +output: '''@["a"]''' """ # bug #6279 diff --git a/tests/ccgbugs/tbug1081.nim b/tests/ccgbugs/tbug1081.nim index c9a9e6aa4..baef99d84 100644 --- a/tests/ccgbugs/tbug1081.nim +++ b/tests/ccgbugs/tbug1081.nim @@ -3,7 +3,7 @@ discard """ 0 0 0 -x = [a, b, c, 0, 1, 2, 3, 4, 5, 6] and y = [a, b, c, 0, 1, 2, 3, 4, 5, 6]''' +x = ['a', 'b', 'c', '0', '1', '2', '3', '4', '5', '6'] and y = ['a', 'b', 'c', '0', '1', '2', '3', '4', '5', '6']''' """ proc `1/1`() = echo(1 div 1) diff --git a/tests/ccgbugs/tconstobj.nim b/tests/ccgbugs/tconstobj.nim index 98f441e83..51cf661ee 100644 --- a/tests/ccgbugs/tconstobj.nim +++ b/tests/ccgbugs/tconstobj.nim @@ -1,5 +1,5 @@ discard """ - output: '''(FirstName: James, LastName: Franco)''' + output: '''(FirstName: "James", LastName: "Franco")''' """ # bug #1547 diff --git a/tests/ccgbugs/tobjconstr_regression.nim b/tests/ccgbugs/tobjconstr_regression.nim index 87d037894..d29abad97 100644 --- a/tests/ccgbugs/tobjconstr_regression.nim +++ b/tests/ccgbugs/tobjconstr_regression.nim @@ -1,5 +1,5 @@ discard """ - output: "@[(username: user, role: admin, description: desc, email_addr: email), (username: user, role: admin, description: desc, email_addr: email)]" + output: '''@[(username: "user", role: "admin", description: "desc", email_addr: "email"), (username: "user", role: "admin", description: "desc", email_addr: "email")]''' """ type |