Skip to content

Commit

Permalink
Shorter test for coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmtroffaes committed Aug 24, 2023
1 parent eb24783 commit c53231f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions test/roots/test-citation_label_special_chars/refs.bib
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
@book{Manning2008,
author = {Christopher D. Manning and Prabhakar Raghavan and Hinrich Sch\"utze},
title = {Introduction to Information Retrieval},
address = {Cambridge},
publisher = {Cambridge University Press},
year = {2008},
url = {https://nlp.stanford.edu/IR-book/},
}

@article{Serrano2009,
author = {M. {\'A}ngeles Serrano and Mari{\'a}n Bogu{\~n}{\'a} and Alessandro Vespignani},
title = {Extracting the multiscale backbone of complex weighted networks},
Expand Down
1 change: 0 additions & 1 deletion test/test_citation.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,5 +534,4 @@ def test_citation_label_special_chars(app, warning) -> None:
app.build()
assert not warning.getvalue()
output = (app.outdir / "index.html").read_text(encoding="utf-8-sig")
assert len(html_citations(label="MRS08").findall(output)) == 1
assert len(html_citations(label="SBV09").findall(output)) == 1

0 comments on commit c53231f

Please sign in to comment.