@@ -326,13 +326,13 @@ test_that("style_pkg() can find qmd anywhere", {
326
326
filetype = " .Qmd"
327
327
)
328
328
)
329
- expect_false(any(grepl( " hello-world.R" , msg , fixed = TRUE )) )
330
- expect_false(any(grepl( " test-package-xyz.R" , msg , fixed = TRUE )) )
331
- expect_false(any(grepl( " random.Rmd" , msg , fixed = TRUE )) )
332
- expect_false(any(grepl( " random.Rmarkdown" , msg , fixed = TRUE )) )
333
- expect_false(any(grepl( " README.Rmd" , msg , fixed = TRUE )) )
334
- expect_false(any(grepl( " RcppExports.R" , msg , fixed = TRUE )) )
335
- expect_true(any(grepl( " new.qmd" , msg , fixed = TRUE )) )
329
+ expect_no_match( msg , " hello-world.R" , fixed = TRUE )
330
+ expect_no_match( msg , " test-package-xyz.R" , fixed = TRUE )
331
+ expect_no_match( msg , " random.Rmd" , fixed = TRUE )
332
+ expect_no_match( msg , " random.Rmarkdown" , fixed = TRUE )
333
+ expect_no_match( msg , " README.Rmd" , fixed = TRUE )
334
+ expect_no_match( msg , " RcppExports.R" , fixed = TRUE )
335
+ expect_match( msg , " new.qmd" , fixed = TRUE )
336
336
})
337
337
338
338
0 commit comments