Skip to content

Commit 1d4a417

Browse files
committed
remove test that no longer works when fauxpas is loaded
1 parent cf2efbd commit 1d4a417

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

tests/testthat/test-to_raise.R

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,4 @@ test_that("stub_request fails well", {
4646
zzz <- stub_request("get", "https://httpbin.org/get")
4747
expect_error(to_raise(zzz, "foo"),
4848
"all objects must be error classes from fauxpas")
49-
50-
# without fauxpas loaded
51-
unloadNamespace("fauxpas")
52-
expect_error(
53-
stub_request("get", "https://httpbin.org/get") %>% to_raise(HTTPAccepted),
54-
"object 'HTTPAccepted' not found"
55-
)
5649
})

0 commit comments

Comments
 (0)