Skip to content

Commit 1aeb6ae

Browse files
Fix tests
1 parent cd7e004 commit 1aeb6ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inst/tests/tests.Rraw

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1648,9 +1648,9 @@ test(514, x %chin% y, x %in% y)
16481648

16491649
# Test new function set() in v1.8.0
16501650
DT = data.table(a=1:3,b=4:6)
1651-
test(515, set(DT,2,1,3), data.table(a=c(1L,3L,3L),b=4:6), warning=c("Coerced i from numeric to integer","Coerced j from numeric to integer"))
1651+
test(515, set(DT,2,1,3), data.table(a=c(1L,3L,3L),b=4:6), warning="Coerced i from numeric to integer")
16521652
test(516, set(DT,"2",1,3), error="i is type 'character'")
1653-
test(517, set(DT,2L,1,3), DT, warning="Coerced j")
1653+
test(517, options=c(datatable.verbose=TRUE), set(DT,2L,1,3), DT, output="Coerced j")
16541654
# FR #2551 implemented - removed warning from 518
16551655
# test(518, set(DT,2L,1L,3), DT, warning="Coerced 'double' RHS to 'integer'")
16561656
test(518, set(DT,2L,1L,3), DT)

0 commit comments

Comments
 (0)