test TYPE: FALSE

This commit is contained in:
pvincent
2026-07-18 01:25:01 +04:00
parent 89f2bece87
commit 9d3652a655
3 changed files with 11 additions and 5 deletions
+3
View File
@@ -1,3 +1,6 @@
#!/usr/bin/env bash
# do not use miaou-bash as the shebang
./test/stub/scenario.bash success >/dev/null
[[ $(./test/stub/scenario.bash unbound_variable 2>&1 1>/dev/null) =~ 'TYPE: UNBOUND VARIABLE' ]]
[[ $(./test/stub/scenario.bash false 2>&1 1>/dev/null) =~ 'TYPE: FALSE' ]]