commit cd01d69b8a309429075271781f90d0db21f78019
parent f6b0f0052f54d69aeb3735d70f891cdf57d9771f
Author: Andrew Alderwick <andrew@alderwick.co.uk>
Date: Thu, 10 Nov 2022 22:03:36 +0000
(asma) Add fail tests to test suite.
Diffstat:
1 file changed, 13 insertions(+), 0 deletions(-)
diff --git a/etc/asma-test.sh b/etc/asma-test.sh
@@ -67,6 +67,10 @@ expect_failure 'Address not in zero page: .hello' <<'EOD'
|1000 @hello
.hello
EOD
+expect_failure 'Address not in zero page: -hello' <<'EOD'
+|1000 @hello
+ -hello
+EOD
expect_failure 'Address outside range: ,hello' <<'EOD'
|1000 @hello
|2000 ,hello
@@ -93,6 +97,15 @@ EOD
expect_failure 'Label not found: ;blah' <<'EOD'
|1000 ;blah
EOD
+expect_failure 'Label not found: :blah' <<'EOD'
+|1000 :blah
+EOD
+expect_failure 'Label not found: =blah' <<'EOD'
+|1000 =blah
+EOD
+expect_failure 'Label not found: -blah' <<'EOD'
+|1000 -blah
+EOD
expect_failure 'Label not found: ,blah' <<'EOD'
|1000 ,blah
EOD