Skip to content

Commit

Permalink
1839 dummy function created
Browse files Browse the repository at this point in the history
  • Loading branch information
Sreeguna committed Oct 31, 2023
1 parent 8042602 commit 2e345c9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/testthat/test-my_first_fcn.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
test_that("hello admiral greets without hw", {
expect_message(
hello_admiral(),
"^Welcome to the admiral family!\\n"
)
})

test_that("hello admiral greets with hw", {
expect_message(
hello_admiral(TRUE),
"^Welcome to the admiral family!\\n"
)
})

0 comments on commit 2e345c9

Please sign in to comment.