summary refs log tree commit diff stats
path: root/tests/generics/tgenerics_issues.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-02-24 14:17:16 -0800
committerGitHub <noreply@github.com>2021-02-24 22:17:16 +0000
commit578d1ee751fa8165a64c842c40216a752caf47e2 (patch)
treeef042ffd3c2797e7c51b9fc1eb68d209b05193fd /tests/generics/tgenerics_issues.nim
parenta4e6b242d56d80df004bf625643fcb3c9d3f1b7f (diff)
downloadNim-578d1ee751fa8165a64c842c40216a752caf47e2.tar.gz
`std/options`: `$some(3)` is now `"some(3)"`, etc. (#17147)
* std/options: $some(3) is now "some(3)", not "Some(3)", `$none(int)` is now `"none(int)"` instead of `"None[int]"`

* fix tests

* disable optionsutils
Diffstat (limited to 'tests/generics/tgenerics_issues.nim')
-rw-r--r--tests/generics/tgenerics_issues.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/generics/tgenerics_issues.nim b/tests/generics/tgenerics_issues.nim
index 46b4c21c9..9e70efcd2 100644
--- a/tests/generics/tgenerics_issues.nim
+++ b/tests/generics/tgenerics_issues.nim
@@ -24,9 +24,9 @@ G:0,1:0.1
 G:0,1:0.1
 H:1:0.1
 0
-(foo: None[seq[Foo]], s: "")
-(foo: Some(@[(a: "world", bar: None[Bar])]), s: "hello,")
-@[(a: "hey", bar: None[Bar])]
+(foo: none(seq[Foo]), s: "")
+(foo: some(@[(a: "world", bar: none(Bar))]), s: "hello,")
+@[(a: "hey", bar: none(Bar))]
 '''
 joinable: false
 """