diff options
author | Flaviu Tamas <tamasflaviu@gmail.com> | 2015-01-10 08:16:09 -0500 |
---|---|---|
committer | Flaviu Tamas <tamasflaviu@gmail.com> | 2015-01-10 08:16:09 -0500 |
commit | bfba4b99833b0f92ba58e549117cfa7c66367eac (patch) | |
tree | cee3c0cc3f1726e18622ef82a8761886f800a569 /test | |
parent | c4d536f5817ec8b1e4a6342547e67f34884890f7 (diff) | |
download | Nim-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.nim | 2 |
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") |