Skip to content

Commit

Permalink
fixed wrong tests
Browse files Browse the repository at this point in the history
  • Loading branch information
schochastics committed Sep 26, 2023
1 parent 03cb768 commit c022176
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-psl.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ test_that("public_suffix works on some examples", {
})

test_that("public suffix works on complete list", {
urls <- paste0("https://dontmatchme.", psl$fixed)
urls <- paste0("https://dontmatchme.", setdiff(psl$raw_list, psl$wildcard))
psla <- public_suffix(urls)
expect_true(all(psla == psl$fixed))
expect_true(all(psla == setdiff(psl$raw_list, psl$wildcard)))
})

test_that("corners", {
Expand Down

0 comments on commit c022176

Please sign in to comment.