summary refs log tree commit diff stats
path: root/tests/stdlib
diff options
context:
space:
mode:
authorcooldome <cdome@bk.ru>2020-04-28 18:56:50 +0100
committerGitHub <noreply@github.com>2020-04-28 19:56:50 +0200
commit3b5a504692495324afdb7c20159122e66100f767 (patch)
treef7084d4efb5eacfdb84e980a90ee9505eb17f500 /tests/stdlib
parent7d6cbf290a5e0cbce14b9926f57221a017f20a4a (diff)
downloadNim-3b5a504692495324afdb7c20159122e66100f767.tar.gz
parseEnum_regression (#14150)
Co-authored-by: cooldome <ariabushenko@bk.ru>
Diffstat (limited to 'tests/stdlib')
-rw-r--r--tests/stdlib/tstrutil.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/stdlib/tstrutil.nim b/tests/stdlib/tstrutil.nim
index 6c82fc0ca..cb6985a6e 100644
--- a/tests/stdlib/tstrutil.nim
+++ b/tests/stdlib/tstrutil.nim
@@ -354,9 +354,9 @@ main()
 # check enum defined at top level
 type
   Foo = enum
-    A
+    A = -10
     B = "bb"
-    C = (5, "ccc")
+    C = (-5, "ccc")
     D = 15
     E = "ee" # check that we count enum fields correctly