Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
edward-burn committed Aug 15, 2024
1 parent 1c1ce71 commit 896dc0d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/testthat/test-modifiers.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ test_that("subsetting preserves class and options", {
expect_equal(x[], x)
})

test_that("stringr_pattern methods"){

test_that("stringr_pattern methods", {
ex <- coll(c("foo", "bar"))
expect_true(inherits(ex[1], "stringr_pattern"))
expect_true(inherits(ex[[1]], "stringr_pattern"))

}
})

0 comments on commit 896dc0d

Please sign in to comment.