Ensure 'simple_float_constant_bad.t' passes as a failure as it checks for a bad floating point
This commit is contained in:
parent
a8d244188e
commit
ae038c4182
|
@ -89,7 +89,15 @@ jobs:
|
|||
- name: Simple float constant
|
||||
run: ./tlang syntaxcheck source/tlang/testing/typecheck/simple_float_constant.t
|
||||
- name: Simple float constant bad
|
||||
run: ./tlang syntaxcheck source/tlang/testing/typecheck/simple_float_constant_bad.t
|
||||
run: |
|
||||
set +e
|
||||
./tlang syntaxcheck source/tlang/testing/typecheck/simple_float_constant_bad.t
|
||||
if [ $? = 255 ]
|
||||
then
|
||||
exit 0
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
- name: Simple string
|
||||
run: ./tlang syntaxcheck source/tlang/testing/typecheck/simple_string.t
|
||||
|
||||
|
|
Loading…
Reference in New Issue