summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
authorFlaviu Tamas <tamasflaviu@gmail.com>2015-01-10 08:16:09 -0500
committerFlaviu Tamas <tamasflaviu@gmail.com>2015-01-10 08:16:09 -0500
commitbfba4b99833b0f92ba58e549117cfa7c66367eac (patch)
treecee3c0cc3f1726e18622ef82a8761886f800a569 /test
parentc4d536f5817ec8b1e4a6342547e67f34884890f7 (diff)
downloadNim-bfba4b99833b0f92ba58e549117cfa7c66367eac.tar.gz
Remove DUPNAMES option
It makes the rest of the implementation more complicated and is confusing
anyway. The user expects a 1:1 mapping between a match and a name
Diffstat (limited to 'test')
-rw-r--r--test/init.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/init.nim b/test/init.nim
index a3c9f24fe..eddcd6aca 100644
--- a/test/init.nim
+++ b/test/init.nim
@@ -9,7 +9,7 @@ suite "Test NRE initialization":
   test "correct options":
     expect(SyntaxError):  # ValueError would be bad
       discard initRegex("[0-9]+",
-        "89?AEfiJmNOsUWXxY<any><anycrlf><cr><crlf><lf><bsr_anycrlf><bsr_unicode><js>")
+        "89?AEfimNOsUWXxY<any><anycrlf><cr><crlf><lf><bsr_anycrlf><bsr_unicode><js>")
 
   test "incorrect options":
     expect(KeyError): discard initRegex("[0-9]+", "a")