Skip to content

Commit

Permalink
Update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
mwmclean committed Sep 26, 2024
1 parent 766fd00 commit a249a10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-tobiblatex.R
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ test_that("toBiblatex can toggle encoding names to LaTeX (#105)",
{
out <- toBiblatex(bib, encoded.names.to.latex = TRUE)
out.author = out[3]
expect_true(grepl("{\\a'e}", out.author, fixed = TRUE))
expect_true(grepl("\\'{e}", out.author, fixed = TRUE))
out <- toBiblatex(bib, encoded.names.to.latex = FALSE)
out.author = out[3]
expect_false(grepl("{\\a'e}", out.author, fixed = TRUE))
expect_false(grepl("\\'{e}", out.author, fixed = TRUE))
})

test_that("toBibtex can toggle encoding names to LaTeX (#105)",
Expand Down

0 comments on commit a249a10

Please sign in to comment.