shUnit2 is a xUnit based unit test framework for Bourne based shell scripts.
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
kward opened this issue 4 years ago · comments
Calling assertTrue() on a null value (assertTrue '') returns ${SHUNIT_FALSE}, so calling assertFalse() on a null value should return ${SHUNIT_TRUE}. It doesn't.
assertTrue()
assertTrue ''
${SHUNIT_FALSE}
assertFalse()
${SHUNIT_TRUE}