diff options
author | konsumlamm <44230978+konsumlamm@users.noreply.github.com> | 2022-09-28 13:59:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-28 13:59:27 +0200 |
commit | 18cea8e9bd9b747e085974d1afc99fd71fe19fa6 (patch) | |
tree | 6c6582252e0ed597c69a6e0436b9f2de720a5e5e /tests | |
parent | e33e9e4a32ea19654d1940ad0c17da8490a99f6c (diff) | |
download | Nim-18cea8e9bd9b747e085974d1afc99fd71fe19fa6.tar.gz |
Update message for checking `cast` (#20145)
* Update message for checking `cast` * Update error messages in tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/arc/t16558.nim | 2 | ||||
-rw-r--r-- | tests/arc/tref_cast_error.nim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/arc/t16558.nim b/tests/arc/t16558.nim index 7b6eb4669..0dbe02b33 100644 --- a/tests/arc/t16558.nim +++ b/tests/arc/t16558.nim @@ -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 diff --git a/tests/arc/tref_cast_error.nim b/tests/arc/tref_cast_error.nim index b0d2faf77..20139c1be 100644 --- a/tests/arc/tref_cast_error.nim +++ b/tests/arc/tref_cast_error.nim @@ -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 """ |