aboutsummaryrefslogtreecommitdiff
path: root/tests/directive
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-09-30 15:10:24 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-09-30 15:30:55 +0200
commit16e74b781e0fafeed0312c9fa0fd1ae03cf432ea (patch)
tree606224d576d36b8c081c19122a9b7c63ee6a68a2 /tests/directive
parent15000dc770e864112aa83035a371117b9ca6e991 (diff)
Allow attributes in if-else, assert directive's conditions
Diffstat (limited to 'tests/directive')
-rw-r--r--tests/directive/assert.testscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/directive/assert.testscript b/tests/directive/assert.testscript
index e3774cf..a050051 100644
--- a/tests/directive/assert.testscript
+++ b/tests/directive/assert.testscript
@@ -26,3 +26,9 @@ EOE
$* <'assert junk' 2>>EOE != 0
<stdin>:1:8: error: invalid bool value: 'junk'
EOE
+
+: null
+:
+$* <'assert [null]' 2>>EOE != 0
+<stdin>:1:8: error: invalid bool value: null
+EOE