Skip to content

Commit a1d46ae

Browse files
committed
Don't flag verbose diagnostics as unexpected output
1 parent b8c68e1 commit a1d46ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/test.data.table.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ test = function(num, x, y=TRUE, ...,
601601
writeLines(out)
602602
# nocov end
603603
}
604-
if (!fail && is.null(output) && is.null(notOutput) && length(out)) {
604+
if (!fail && is.null(output) && is.null(notOutput) && length(out) && !isTRUE(getOption("datatable.verbose"))) {
605605
# nocov start
606606
catf("Test %s produced unexpected output:\n", numStr)
607607
writeLines(out)

0 commit comments

Comments
 (0)