Closed mikaelz closed 7 years ago
Thanks @mikaelz !
Added test case, but can't get it working:
$ shunit2 tests/junkchecker_test.sh
ASSERT:Unknown failure encountered running a test
Ran 0 tests.
FAILED (failures=1)
$ shunit2 tests/all.sh
./tests/all.sh: line 14: ./README.md: Permission denied
ASSERT:Unknown failure encountered running a test
Ran 0 tests.
FAILED (failures=1)
I could both on Travis and locally, so it should be fine.
In your case, I think the line 8 of tests/all.sh
did not work. You can run all this with bash -x
if you want to know more.
Part of my PHP debugging snippet is a comment as a reminder and it's useful for grepping
So I added
remove this debug line
to junkchecker's phrasefile, but the result of pre-commit wasWith this PR it's