File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ test_that("check abstract works", {
6868expect_SUCCESS <- function (expr ) expect_equal(c(expr ), " SUCCESS" )
6969expect_NOTE <- function (expr ) expect_equal(c(expr ), " NOTE" )
7070expect_ERROR <- function (expr ) expect_equal(c(expr ), " ERROR" )
71+ expect_WARNING <- function (expr ) expect_equal(c(expr ), " WARNING" )
7172
7273article_path <- system.file(" sample-article" , package = " rjtools" )
7374bad_article_path <- " ../bad-article"
@@ -96,7 +97,7 @@ test_that("structure check works", {
9697
9798test_that(" title check works" , {
9899 expect_SUCCESS(check_title(article_path ))
99- expect_ERROR (check_title(bad_article_path ))
100+ expect_WARNING (check_title(bad_article_path ))
100101})
101102
102103test_that(" section check works" , {
You can’t perform that action at this time.
0 commit comments