Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit 05a1fa7

Browse files
authored
Remove/update some of the messages we print
1 parent e6c544b commit 05a1fa7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

docs/test/test.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,19 @@ LINT_MD="$TEST_DIR/../bin/lint-md"
1818
echo "Testing good.md ..."
1919
diff <("$LINT_MD" "$TEST_DIR/good.md" --no-color 2>&1) "$TEST_DIR/good.expected.md"
2020
EXIT_GOOD=$?
21-
echo "good.md -> $EXIT_GOOD"
2221

2322
echo "Testing bad.md ..."
2423
diff <("$LINT_MD" "$TEST_DIR/bad.md" --no-color 2>&1) "$TEST_DIR/bad.expected.md"
2524
EXIT_BAD=$?
26-
echo "bad.md -> $EXIT_BAD"
2725

2826
echo "Testing a-bad-filename.expected.md ..."
2927
diff <("$LINT_MD" "$TEST_DIR/a-bad-filename.md" --no-color 2>&1) "$TEST_DIR/a-bad-filename.expected.md"
3028
EXIT_BAD_FILENAME=$?
31-
echo "a-bad-filename.md -> $EXIT_BAD_FILENAME"
3229

3330
# Fail if either diff failed.
3431
# This if will fall apart quickly as we add more test cases.
3532
# Need to consider some type of looping, etc possibly.
3633
if [ "$EXIT_GOOD" -ne "0" ] || [ "$EXIT_BAD" -ne "0" ] || [ "$EXIT_BAD_FILENAME" -ne "0" ]; then
37-
echo "One or more tests failed! $EXIT_GOOD $EXIT_BAD $EXIT_BAD_FILENAME"
34+
echo "One or more tests failed! Good: $EXIT_GOOD Bad: $EXIT_BAD Bad Filename: $EXIT_BAD_FILENAME"
3835
exit 1
3936
fi

0 commit comments

Comments
 (0)