Skip to content

Commit

Permalink
use expect_type()
Browse files Browse the repository at this point in the history
  • Loading branch information
kbvernon committed Oct 6, 2024
1 parent d4af603 commit 13f6eef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/testthat/test-read_cargo_metadata.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
test_that("read_cargo_metadata() returns package or workspace metadata", {
test_that("read_cargo_metadata() returns crate or workspace metadata", {
skip_if_not_installed("usethis")

path <- local_package("testpkg")
Expand All @@ -8,7 +8,7 @@ test_that("read_cargo_metadata() returns package or workspace metadata", {

use_extendr(path, quiet = TRUE)

out <- read_cargo_metadata()
out <- read_cargo_metadata(path)

expect_s3_class(out, "list")
expect_type(out, "list")
})

0 comments on commit 13f6eef

Please sign in to comment.