diff --git a/tests/errmsgs/tcant_overload_by_return_type.nim b/tests/errmsgs/tcant_overload_by_return_type.nim index 847307be6daaa..60672b69d4a90 100644 --- a/tests/errmsgs/tcant_overload_by_return_type.nim +++ b/tests/errmsgs/tcant_overload_by_return_type.nim @@ -1,5 +1,5 @@ discard """ -errormsg: "overload 'tcant_overload_by_return_type.nim(8, 6) ' with incompatible types leads to ambiguous calls" +errormsg: "overload 'tcant_overload_by_return_type.nim(8, 6)' with incompatible types leads to ambiguous calls" line: 9 """