Skip to content

Commit

Permalink
Check file has the wrong line endings...
Browse files Browse the repository at this point in the history
  • Loading branch information
EpicnessTwo committed Nov 21, 2023
1 parent fbf6da7 commit 69403b4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,8 @@ jobs:
- name: Run Test
run: node fizzbuzz.js | tr -d '\r' > /tmp/js.txt

- name: Setup Check File
run: cat fizzbuzz.txt | tr -d '\r' > /tmp/check.txt

- name: Compare output
run: diff -i /tmp/js.txt fizzbuzz.txt
run: diff -i /tmp/js.txt /tmp/check.txt

0 comments on commit 69403b4

Please sign in to comment.