aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGavin Howard <yzena.tech@gmail.com>2019-02-18 19:22:09 -0700
committerGavin Howard <yzena.tech@gmail.com>2019-02-18 19:22:09 -0700
commita7f47d7b33468d0a8db2789f5d9f17b265b23825 (patch)
tree1d25551b1c54f984e46fdad70de15eb5c16e135d /tests
parentea9492c1db8ce8f34250e57a477b173a91daff48 (diff)
downloadplatform_external_bc-a7f47d7b33468d0a8db2789f5d9f17b265b23825.tar.gz
platform_external_bc-a7f47d7b33468d0a8db2789f5d9f17b265b23825.tar.bz2
platform_external_bc-a7f47d7b33468d0a8db2789f5d9f17b265b23825.zip
Add more bc error tests
This is to hopefully increase my test coverage
Diffstat (limited to 'tests')
-rw-r--r--tests/bc/errors.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/bc/errors.txt b/tests/bc/errors.txt
index 0946b1df..a730382e 100644
--- a/tests/bc/errors.txt
+++ b/tests/bc/errors.txt
@@ -183,6 +183,8 @@ print;
print 1,2 print 45
print "s" "4"
}
+for (i=0; i; ++i) if (i) print "stuff"; else i; if (!i) i + 1; else i;
+if (i == 0) break; else i;
while (x != 0) { break 4; }
while (x != 0) { continue 4; }
while (x != 0) 4 else 5