File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,10 +44,10 @@ test_that("fetch_tbl warns on non-success", {
44
44
content = function (... ) NULL ,
45
45
.package = " httr"
46
46
)
47
- artificial_warning <- " * This is a warning with a leading asterisk and {braces} to make sure we don't have bulleting/glue bugs."
47
+ artificial_warning <- " * This is a warning with a leading asterisk and {braces} to make sure we don't have bulleting/glue bugs."
48
48
debug_triplet <- readRDS(testthat :: test_path(" data/test-classic.rds" )) %> %
49
- jsonlite :: fromJSON() %> %
50
- `[[<-`(" message" , artificial_warning )
49
+ jsonlite :: fromJSON() %> %
50
+ `[[<-`(" message" , artificial_warning )
51
51
local_mocked_bindings(
52
52
# see generation code above
53
53
fromJSON = function (... ) debug_triplet ,
@@ -56,6 +56,6 @@ test_that("fetch_tbl warns on non-success", {
56
56
57
57
expect_warning(epidata_call %> % fetch_tbl(),
58
58
regexp = paste0(" epidata warning: " , artificial_warning ),
59
- fixed = TRUE
59
+ fixed = TRUE
60
60
)
61
61
})
You can’t perform that action at this time.
0 commit comments