Skip to content

Commit 09b4932

Browse files
committed
add more tests
1 parent b457e4a commit 09b4932

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

inst/tests/tests.Rraw

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21758,3 +21758,10 @@ test(2341.17, fread('v
2175821758
test(2341.18, fread('a,b
2175921759
"p#q",2 # tail
2176021760
"r#s",3', comment.char='#'), data.table(a=c("p#q","r#s"), b=c(2L,3L)))
21761+
test(2341.19, fread(' # lead comment with padding
21762+
\t# and tab
21763+
a,b
21764+
1,2', comment.char='#'), data.table(a=1L, b=2L))
21765+
test(2341.20, fread('a,b # header comment with padding
21766+
1,2
21767+
3,4', comment.char='#'), data.table(a=c(1L,3L), b=c(2L,4L)))

0 commit comments

Comments
 (0)