fixed some tests
This commit is contained in:
parent
20843b7c1a
commit
9152193e41
2 changed files with 2 additions and 6 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue