added t/err.sh for testing errors
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-05-04 00:49:27 +09:00
parent b6a512f90f
commit 4ed8651821
7 changed files with 146 additions and 12 deletions

24
t/e-001.err Normal file
View File

@ -0,0 +1,24 @@
BEGIN {
##ERROR: unexpected end of input
---
function abc(x { ##ERROR: comma expected in place of
}
---
BEGIN {
@argv = 10 ##ERROR: invalid assignment statement
}
---
BEGIN {
@argc = 10 ##ERROR: invalid assignment statement
}
---
BEGIN {
@nil = 10 ##ERROR: invalid assignment statement
}