Skip to content

Commit

Permalink
Update test for pandoc bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bewuethr committed Nov 8, 2024
1 parent 2b32558 commit 4b4cf96
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/bibliography.bats
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ load test_helper
cat docs/????-??-??-*.html
grep -Pqz 'data-cites="Ritchie1974">\(Ritchie\sand\sThompson\s1974\)' docs/????-??-??-*.html

# Post contains bibliography
grep -q 'id="bibliography".*>Bibliography</h1>' docs/????-??-??-*.html
# Post contains bibliography; not a heading until jgm/pandoc#10367 is fixed
# grep -q 'id="bibliography".*>Bibliography</h1>' docs/????-??-??-*.html
grep -q '<p>Bibliography</p>' docs/????-??-??-*.html
}

0 comments on commit 4b4cf96

Please sign in to comment.