]> diplodocus.org Git - nmh/blobdiff - test/scan/test-scan
Just show relevant portion of invalid encoded string.
[nmh] / test / scan / test-scan
index 171a9e5..dc0e225 100755 (executable)
@@ -14,7 +14,7 @@ fi
 
 setup_test
 
-! scan - >/dev/null 2>&1 # gcov
+check_exit '-eq 1' scan -
 
 expected="$MH_TEST_DIR/$$.expected"
 actual="$MH_TEST_DIR/$$.actual"