Skip to content

Commit cf31ffa

Browse files
seabbs-botseabbs
andcommitted
Fix test warning regexp after warning message was reworded
The warning text changed from "All observed delays are identical" to "Near-zero variance in observed delays" but the test regexp was not updated, causing a case-sensitive mismatch. Co-Authored-By: Sam Abbott <s.e.abbott12@gmail.com>
1 parent ff7c2a2 commit cf31ffa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/testthat/test-estimate_dist.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ test_that("warns when all observed delays are identical", {
465465
)),
466466
error = function(e) NULL
467467
),
468-
"All observed delays are identical" # matches cli_warn text
468+
"Near-zero variance in observed delays" # matches cli_warn text
469469
)
470470
})
471471

0 commit comments

Comments
 (0)