Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Feb 23, 2025
1 parent e37486c commit d91e319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-zero_crossings.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ test_that("zero_crossings", {
out <- find_inversions(x)
expect_equal(out, c(12.87478, 37.62484, 62.37516, 87.12522), tolerance = 1e-4)
expect_true(is.na(zero_crossings(c(1, 2))))
excpect_error(zero_crossings(1), regex = "is not smaller")
expect_error(zero_crossings(1), regex = "is not smaller")
})

0 comments on commit d91e319

Please sign in to comment.