Skip to content

Commit

Permalink
update test to work with changes from #9 (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshCoady committed Aug 30, 2023
1 parent 7752eae commit d4652e3
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,11 @@ jobs:
shell: bash
env:
ACTUAL: ${{ steps.convert.outputs.text }}
EXPECTED: |
*Heading 1*
*Heading 2*
<http://example.com|Link>
• List Item 1
• List Item 2
EXPECTED: '*Heading 1*\n\n*Heading 2*\n\n<http://example.com|Link>\n\n• List Item 1\n• List Item 2\n'
run: |
if [ "$ACTUAL" != "$EXPECTED" ]; then
echo "Actual: $ACTUAL"
echo "Expected: $EXPECTED"
echo "Actual: '$ACTUAL'"
echo "Expected: '$EXPECTED'"
exit 1
fi
Expand Down

0 comments on commit d4652e3

Please sign in to comment.