Print a tinytest object
# S3 method for tinytest format(x, type = c("long", "short"), ...)# S3 method for tinytest print(x, ...)
# S3 method for tinytest print(x, ...)
A tinytest object
tinytest
[logical] Toggle format type
[logical]
passed to format.tinytest
format.tinytest
A character string
# NOT RUN { tt <- expect_equal(1+1, 3) format(tt,"long") format(tt,"short") print(expect_equal(1+1, 2)) print(expect_equal(1+1, 3), type="long") # }
Run the code above in your browser using DataLab