Permalink
Browse files

Add test for missing parse error.

Fixed in last commit: 451ca9e

This may be useful when converting return values to exceptions.
  • Loading branch information...
Andy Chu
Andy Chu committed May 28, 2018
1 parent 451ca9e commit fee4c2e370e76e4eb02050f008f514f67cf8c982
Showing with 6 additions and 1 deletion.
  1. +6 −1 spec/parse-errors.test.sh
@@ -115,4 +115,9 @@ echo 1 ;; echo 2
# status: 2
# OK mksh status: 1
### empty clause in [[
# regression test for commit 451ca9e2b437e0326fc8155783d970a6f32729d8
[[ || true ]]
# status: 2
# N-I dash status: 0
# OK mksh status: 1

0 comments on commit fee4c2e

Please sign in to comment.