mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 14:00:35 +00:00
fixed some tests
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
discard """
|
||||
line: 8
|
||||
msg: "Error: type mismatch: got (int)"
|
||||
msg: "type mismatch: got (int)"
|
||||
"""
|
||||
|
||||
# please finally disallow Len(3)
|
||||
|
||||
@@ -3,9 +3,5 @@ discard """
|
||||
output: "1"
|
||||
"""
|
||||
|
||||
# len(x) --> len([x]) --> match!
|
||||
echo len(1_000_000) #OUT 1
|
||||
|
||||
|
||||
|
||||
echo len([1_000_000]) #OUT 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user