Skip to content

Commit 73aa747

Browse files
ditto
1 parent 883ab4f commit 73aa747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/test.data.table.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ test = function(num,x,y=TRUE,error=NULL,warning=NULL,message=NULL,output=NULL,no
495495
fail = TRUE
496496
# nocov end
497497
}
498-
if (length(notOutput) && string_match(notOutput, out, ignore.case=TRUE) && !foreign) {
498+
if (length(notOutput) && !foreign && string_match(notOutput, out, ignore.case=TRUE)) {
499499
# nocov start
500500
catf("Test %s produced output but should not have:\n", numStr)
501501
catf("Expected absent (case insensitive): <<%s>>\n", encodeString(notOutput))

0 commit comments

Comments
 (0)