Fixed expect.
h3rald h3rald@h3rald.com
Fri, 21 Jul 2017 22:29:37 +0200
2 files changed,
2 insertions(+),
2 deletions(-)
M
lib/min_lang.nim
→
lib/min_lang.nim
@@ -545,7 +545,7 @@
def.symbol("expect") do (i: In): var q: MinValue i.reqQuotationOfSymbols q - i.push(i.expect(q.qVal.mapIt(it.getString()).reversed).newVal(i.scope)) + i.push(i.expect(q.qVal.mapIt(it.getString())).reversed.newVal(i.scope)) # Converters
M
tests/lang.min
→
tests/lang.min
@@ -192,7 +192,7 @@ ) tap!
s1 "test123" == ) assert - (1 "test" 3.4 (int string num) expect (3.4 "test" 1) ==) assert + (3.4 "test" 1 (int string num) expect (3.4 "test" 1) ==) assert report ; Tidy up