Skip to content

Commit

Permalink
Merge pull request #191 from brews/fstest_devel_fix
Browse files Browse the repository at this point in the history
Test for new ks.test behavior in r-devel
  • Loading branch information
brews authored Feb 19, 2022
2 parents 80c7881 + 3af3e25 commit fb9d8e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

Changes in this release:

* Update DOI badge and support documentation on main website and README. (@chguiterman, PR #182).
* Update DOI badge and support documentation on main website and README. (@chguiterman, PR #182)

* Test for new ks.test behavior in r-devel. (@brews, PR #191)


# burnr v0.6.0
Expand Down
3 changes: 2 additions & 1 deletion tests/testthat/test-intervals.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ test_that("quantile.intervals() basic cases", {

test_that("The intervals object prints", {
prnt_int <- capture_output(print(TEST_INTER))
expect_equal(nchar(prnt_int), 771)
# or 793 chars to support change in ks.test output in R>=6.0.0:
expect_true((nchar(prnt_int) == 793) || (nchar(prnt_int) == 771))
})

test_that("Plotting intervals works", {
Expand Down

0 comments on commit fb9d8e5

Please sign in to comment.