Skip to content

Commit f925ce4

Browse files
committed
add example for strip.white
1 parent 73590c4 commit f925ce4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

inst/tests/tests.Rraw

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21802,6 +21802,11 @@ b # trailing cmnt
2180221802
test(2341.231, fread('a # trailing header cmnt
2180321803
b
2180421804
', comment.char = '#', strip.white = FALSE, sep = ","), data.table(`a `="b"))
21805+
test(2341.232, fread('a
21806+
# full line cmnt
21807+
# full line with leading ws cmnt
21808+
b
21809+
', comment.char = '#', strip.white = FALSE, sep = ","), data.table(a=c(" ", "b")))
2180521810

2180621811
test(2341.24, fread('a
2180721812
# leading cmnt

0 commit comments

Comments
 (0)