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

Commit f91f2bf

Browse files
author
Jeremy Wiebe
committed
Fix broken tests on Circle and revert debugging code
1 parent 7594606 commit f91f2bf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

circle.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ jobs:
77
steps:
88
- checkout
99
- run: npm install
10-
- run: npm test
10+
# npm outputs extra info on... ?linux? that breaks the diffs in docs/test/
11+
# test.sh causing tests to fail on CircleCI only, but not on a macOS. As a
12+
# result we use `--quiet` to suppress this npm output.
13+
- run: npm test --quiet
1114
- deploy:
1215
command: |
1316
if [ "${CIRCLE_BRANCH}" == "master" ]; then

docs/test/test.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ LINT_MD="$TEST_DIR/../bin/lint-md"
1515
#"$LINT_MD" "$TEST_DIR/a-bad-filename.md" --no-color > "$TEST_DIR/a-bad-filename.expected.md" 2>&1
1616

1717
# Compare remark output with expected output. Fail on diff.
18-
set -x
1918
echo "Testing good.md ..."
20-
"$LINT_MD" "$TEST_DIR/good.md" --no-color 2>&1
21-
echo "*******************"
2219
diff <("$LINT_MD" "$TEST_DIR/good.md" --no-color 2>&1) "$TEST_DIR/good.expected.md"
2320
EXIT_GOOD=$?
2421
echo "good.md -> $EXIT_GOOD"

0 commit comments

Comments
 (0)