kward / shunit2

shUnit2 is a xUnit based unit test framework for Bourne based shell scripts.
Apache License 2.0
1.59k stars 213 forks source link

call to [ not protected somewhere ERROR #152

Open haobug opened 2 years ago

haobug commented 2 years ago

I received the below error when I run ./test_runner after I did some modifications to shunit2 code #89 what should I do with this error?

testIssue54
ASSERT:call to [ not protected somewhere

it can pass the shellcheck checking "no issue detected".

Screen Shot 2021-11-14 at 12 08 49 PM