diff options
Diffstat (limited to 'bin/test/test.sh')
| -rwxr-xr-x | bin/test/test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/test/test.sh b/bin/test/test.sh index 666818a..20f9439 100755 --- a/bin/test/test.sh +++ b/bin/test/test.sh @@ -26,7 +26,7 @@ status=0 # license main.cpp $license "$dir/main.cpp" d=$(diff "$dir/main.cpp" "$dir/main.cpp.expected") -if [ ! -z "$d" ]; then +if [ -n "$d" ]; then echo "$d" status=1 fi @@ -34,7 +34,7 @@ fi # license README.md $license "$dir/README.md" d=$(diff "$dir/README.md" "$dir/README.md.expected") -if [ ! -z "$d" ]; then +if [ -n "$d" ]; then echo "$d" status=1 fi |
