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

Commit 36b74d3

Browse files
author
Jeremy Wiebe
committed
Don't need circle.yml and echo exit code from diff
1 parent 39e2d9d commit 36b74d3

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

circle.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

docs/test/test.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
# `.expected` files. If we change our configuration, a new output will be
77
# expected and these files must be re-generated.
88

9-
echo $(node -v)
10-
119
TEST_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
1210
LINT_MD="$TEST_DIR/../bin/lint-md"
1311

@@ -18,8 +16,11 @@ LINT_MD="$TEST_DIR/../bin/lint-md"
1816
# Compare remark output with expected output. Fail on diff.
1917
diff <("$LINT_MD" "$TEST_DIR/good.md" --no-color 2>&1) "$TEST_DIR/good.expected.md"
2018
EXIT_GOOD=$?
19+
echo "Good: $EXIT_GOOD"
20+
2121
diff <("$LINT_MD" "$TEST_DIR/bad.md" --no-color 2>&1) "$TEST_DIR/bad.expected.md"
2222
EXIT_BAD=$?
23+
echo "Bad: $EXIT_BAD"
2324

2425
# Fail if either diff failed
2526
exit $EXIT_GOOD || $EXIT_BAD

0 commit comments

Comments
 (0)