Skip to content

Commit 402bfba

Browse files
nit: placement of #nocov
1 parent ded4ab3 commit 402bfba

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

R/test.data.table.R

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,11 +383,13 @@ test = function(num,x,y=TRUE,error=NULL,warning=NULL,message=NULL,output=NULL,no
383383
}
384384
assign("lasttime", proc.time()[3L], parent.frame(), inherits=TRUE) # after gc() to exclude gc() time from next test when memtest
385385
}, add=TRUE )
386-
if (showProgress) { # nocov start
386+
if (showProgress) {
387+
# nocov start
387388
cat("\r") # notranslate: \r can't be in gettextf msg
388389
catf("Running test id %s", numStr)
389390
cat(" ") # notranslate
390-
} # nocov end
391+
# nocov end
392+
}
391393
# See PR #4090 for comments about change here in Dec 2019.
392394
# If a segfault error occurs in future and we'd like to know after which test, then arrange for the
393395
# try(sys.source()) in test.data.table() to be run in a separate R process. That process could write out

0 commit comments

Comments
 (0)