From df92a9d51987cfcda462638ce49a5ae8d3d0664a Mon Sep 17 00:00:00 2001 From: dieghernan Date: Tue, 27 Feb 2024 09:07:46 +0000 Subject: [PATCH] Update tests --- tests/testthat/_snaps/cff_to_bibentry.md | 4 +--- tests/testthat/test-cff_to_bibentry.R | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/testthat/_snaps/cff_to_bibentry.md b/tests/testthat/_snaps/cff_to_bibentry.md index 80e419b9..e60fd87a 100644 --- a/tests/testthat/_snaps/cff_to_bibentry.md +++ b/tests/testthat/_snaps/cff_to_bibentry.md @@ -12,9 +12,7 @@ number = {2}, pages = {97--111}, month = {January}, - keywords = {Some}, - keywords = {simple}, - keywords = {keywords}, + keywords = {Some, simple, keywords}, } --- diff --git a/tests/testthat/test-cff_to_bibentry.R b/tests/testthat/test-cff_to_bibentry.R index b4612dea..165dbcdf 100644 --- a/tests/testthat/test-cff_to_bibentry.R +++ b/tests/testthat/test-cff_to_bibentry.R @@ -10,7 +10,7 @@ test_that("Article to bibtex", { number = 2, pages = "97--111", month = "January", - keywords = c("Some", "simple", "keywords") + keywords = "Some, simple, keywords" ) expect_snapshot(toBibtex(bib)) x <- cff_parse_citation(bib)