From 26fd0bb89cff923bc6ed9866b97c9e04460689aa Mon Sep 17 00:00:00 2001 From: kbvernon Date: Sat, 9 Nov 2024 17:16:27 -0700 Subject: [PATCH] unpack list column in expect and format --- tests/testthat/test-use_crate.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testthat/test-use_crate.R b/tests/testthat/test-use_crate.R index e94815ff..fb6ee772 100644 --- a/tests/testthat/test-use_crate.R +++ b/tests/testthat/test-use_crate.R @@ -10,7 +10,7 @@ test_that("use_crate() adds dependency to package or workspace", { use_crate( "serde", - features = "derive", + features = "derive", version = "1.0.1", path = path ) @@ -22,7 +22,7 @@ test_that("use_crate() adds dependency to package or workspace", { expect_equal(dependency[["name"]], "serde") - expect_equal(dependency[["features"]], "derive") + expect_equal(dependency[["features"]][[1]], "derive") expect_equal(dependency[["req"]], "^1.0.1") })