tests/testthat/test-helper_processx.R

context("Testing print_processx")

test_that("print_processx works correctly", {
  expect_output(print_processx("Quinoa"), regexp = "Quinoa")
  expect_output(print_processx("Edamame"), regexp = "Edamame")
})

Try the babelwhale package in your browser

Any scripts or data that you put into this service are public.

babelwhale documentation built on July 26, 2023, 5:24 p.m.