Skip to content

Commit

Permalink
be smarter
Browse files Browse the repository at this point in the history
  • Loading branch information
maelle committed Oct 5, 2023
1 parent 44b2fd4 commit 2870832
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/testthat/test-send_sparql.R
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,10 @@ test_that("httr2 options", {
})

test_that("deprecation", {
rlang::local_options(lifecycle_verbosity = "warning")
httptest2::with_mock_dir("hal-dryrun", {
expect_snapshot({
spq_init(endpoint = "hal") %>%
req <- spq_init(endpoint = "hal") %>%
spq_add("haldoc:inria-00362381 dcterms:hasVersion ?version") %>%
spq_add("?version ?p ?object") %>%
spq_head(5) %>%
Expand All @@ -114,6 +115,7 @@ test_that("deprecation", {
timeout = 20,
request_type = "url"
)
req$method
})
})

Expand Down

0 comments on commit 2870832

Please sign in to comment.