Skip to content

Commit c8693ef

Browse files
a test of possibly valid factor filling
1 parent 5c15ada commit c8693ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

inst/tests/nafill.Rraw

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ test(13.06, nafill(x, fill=factor("a")), x_fill_a)
346346
test(13.07, nafill(x, fill=factor("a", levels=levels(x))), x_fill_a)
347347
test(13.08, nafill(x, fill=factor("a", levels=c("a", "b"))), x_fill_a)
348348
test(13.09, nafill(x, fill=factor("a", levels=c("a", "d"))), x_fill_a)
349+
test(13.09, nafill(x, fill=factor("d", levels=c("a", "b", "c", "d"))), x_fill_a)
349350
test(13.10, nafill(x, fill=NA), x)
350351
test(13.11, nafill(x, fill=NA_integer_), x)
351352
test(13.12, nafill(x, fill=NA_character_), x)

0 commit comments

Comments
 (0)