Skip to content

Commit

Permalink
Fix for dev httr2
Browse files Browse the repository at this point in the history
httr2 has switched to a more aggressive URL parser which now throws an error, so I've made the minimal fix to get your tests passing again
The proposed code should work with both old and new httr2, so you can submit to CRAN now, if you want. I am planning to submit httr2 to CRAN on Jan 17, so you'll have to submit ~2 weeks after this date.
\
  • Loading branch information
hadley committed Jan 8, 2025
1 parent ade3e10 commit 989bb09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-backend-databricks.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test_that("Submit method works", {
test_that("Completion function works", {
withr::with_envvar(
new = c(
"DATABRICKS_HOST" = "test",
"DATABRICKS_HOST" = "http://test",
"DATABRICKS_TOKEN" = "test"
),
{
Expand Down

0 comments on commit 989bb09

Please sign in to comment.