mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-05 03:14:08 +00:00
fix failing tests
This commit is contained in:
@@ -82,7 +82,7 @@ let a3 = not 0'u64
|
||||
var success = false
|
||||
try:
|
||||
discard a3.int64
|
||||
except RangeDefect:
|
||||
except RangeError:
|
||||
success = true
|
||||
|
||||
doAssert success, "conversion should fail at runtime"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
discard """
|
||||
errormsg: "expression 'len(src) shl 1' is of type 'int' and has to be used (or discarded)"
|
||||
errormsg: "expression 'len(src) shl 1' is of type 'int' and has to be discarded"
|
||||
line: 19
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user