added t/err.sh for testing errors
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
24
t/e-001.err
Normal file
24
t/e-001.err
Normal 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
|
||||
}
|
Reference in New Issue
Block a user