From d5f965e1377870f2c7ac7be9b6000f2dee82d7ac Mon Sep 17 00:00:00 2001 From: Christoffer Lerno Date: Sat, 8 Oct 2022 22:10:56 +0200 Subject: [PATCH] Fix test. --- test/test_suite/compile_time/not_yet_initialized.c3 | 4 ++-- test/test_suite2/compile_time/not_yet_initialized.c3 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test_suite/compile_time/not_yet_initialized.c3 b/test/test_suite/compile_time/not_yet_initialized.c3 index 018b02310..2fbe0b136 100644 --- a/test/test_suite/compile_time/not_yet_initialized.c3 +++ b/test/test_suite/compile_time/not_yet_initialized.c3 @@ -7,11 +7,11 @@ macro foo($Foo) fn void test1() { var $Bar; - foo($Bar); // #error: '$Bar' is not defined yet + foo($Bar); // #error: You need to assign a type to } fn void test2() { var $Bar; - $Bar z; // #error: '$Bar' is not defined yet + $Bar z; // #error: You need to assign a type to } diff --git a/test/test_suite2/compile_time/not_yet_initialized.c3 b/test/test_suite2/compile_time/not_yet_initialized.c3 index 018b02310..2fbe0b136 100644 --- a/test/test_suite2/compile_time/not_yet_initialized.c3 +++ b/test/test_suite2/compile_time/not_yet_initialized.c3 @@ -7,11 +7,11 @@ macro foo($Foo) fn void test1() { var $Bar; - foo($Bar); // #error: '$Bar' is not defined yet + foo($Bar); // #error: You need to assign a type to } fn void test2() { var $Bar; - $Bar z; // #error: '$Bar' is not defined yet + $Bar z; // #error: You need to assign a type to }