From 18cea8e9bd9b747e085974d1afc99fd71fe19fa6 Mon Sep 17 00:00:00 2001 From: konsumlamm <44230978+konsumlamm@users.noreply.github.com> Date: Wed, 28 Sep 2022 13:59:27 +0200 Subject: Update message for checking `cast` (#20145) * Update message for checking `cast` * Update error messages in tests --- tests/arc/t16558.nim | 2 +- tests/arc/tref_cast_error.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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 """ -- cgit 1.4.1-2-gfad0