Skip to content

Commit

Permalink
rm useless test
Browse files Browse the repository at this point in the history
  • Loading branch information
maelle committed Feb 28, 2025
1 parent 5982f64 commit b95749a
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions tests/testthat/test-mock2-helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,6 @@ test_that("mock_output_sequence() works", {
expect_snapshot(mocked_sequence(), error = TRUE)
})

test_that("mock_output_sequence() works -- force", {
a <- "3"
b <- "This is a note"
c <- "n"
mocked_sequence <- mock_output_sequence(a, b, c)
a <- "not 3"
expect_equal(mocked_sequence(), "3")
expect_equal(mocked_sequence(), "This is a note")
expect_equal(mocked_sequence(), "n")
})

test_that("mock_output_sequence() works -- list", {
x <- list("3", "This is a note", "n")
mocked_sequence <- mock_output_sequence(!!!x)
Expand Down

0 comments on commit b95749a

Please sign in to comment.