Skip to content

Commit 39843be

Browse files
committed
fix coverage
1 parent 4fe8676 commit 39843be

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

R/test.data.table.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,9 +459,8 @@ test = function(num,x,y=TRUE,error=NULL,warning=NULL,message=NULL,output=NULL,no
459459
invisible(!fail)
460460
}
461461

462-
is.AsIs = function(x) inherits(x, "AsIs")
463-
464462
# nocov start
463+
is.AsIs = function(x) inherits(x, "AsIs")
465464
benchmark = function(num, expr, limit, tolerance=0.025, verbose=FALSE) {
466465

467466
.test.data.table = exists("nfail", parent.frame()) # test() can be used inside functions defined in tests.Rraw, so inherits=TRUE (default) here

0 commit comments

Comments
 (0)