Skip to content

Commit 4081a24

Browse files
Update tests/testthat/test-goodbye.R
Co-authored-by: Copilot <[email protected]>
1 parent 4369bec commit 4081a24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test-goodbye.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ test_that("goodbye() prints correctly with default arguments", {
33
expect_output(goodbye(), "Goodbye, world!")
44

55
# Test that the invisible return value is correct
6-
expect_equal(suppressMessages(goodbye()), "Goodbye, world!")
6+
expect_equal(capture.output(goodbye()), "Goodbye, world!")
77
})
88

99
test_that("goodbye() accepts custom name parameter", {

0 commit comments

Comments
 (0)