Update message for checking cast (#20145)

* Update message for checking `cast`

* Update error messages in tests
This commit is contained in:
konsumlamm 2022-09-28 13:59:27 +02:00 • committed by GitHub
commit 18cea8e9bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,6 @@
discard """
matrix: "--gc:arc"
errormsg: "expression cannot be cast to int"
errormsg: "expression cannot be cast to 'int'"
"""
block: # bug #16558

View file

@ -1,6 +1,6 @@
discard """
cmd: "nim c --gc:arc $file"
errormsg: "expression cannot be cast to ref RootObj"
errormsg: "expression cannot be cast to 'ref RootObj'"
joinable: false
"""