inst/example_tests/multi_line_except_statement/test_multiline_except.R

# Project: tinytest2JUnit
# 
# Author: ltuijnder
###############################################################################


returnsTrue <- function() TRUE

expect_false( 
  if (returnsTrue()) {
    TRUE
  } else {
    FALSE
  }
)

Try the tinytest2JUnit package in your browser

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

tinytest2JUnit documentation built on June 22, 2024, 9:18 a.m.