Skip to content

Commit 7195697

Browse files
committed
update tests
1 parent e171500 commit 7195697

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

inst/tests/tests.Rraw

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20601,12 +20601,12 @@ test(2296, d2[x %no such operator% 1], error = '%no such operator%')
2060120601
# coerce Dates to double if join on multiple columns, #6602
2060220602
x = data.table(a=1L)
2060320603
y = data.table(c=1L, d=1)
20604-
test(2297.01, options=c(datatable.verbose=TRUE), y[x, on=.(c == a, d == a)], data.table(c=1L, d=1L), output="Coercing .*c to type double")
20605-
test(2297.02, options=c(datatable.verbose=TRUE), y[x, on=.(d == a, c == a)], data.table(c=1L, d=1L), output="Coercing .*c to type double")
20604+
test(2297.01, y[x, on=.(c == a, d == a), verbose=TRUE], data.table(c=1L, d=1L), output="Coercing .*a to type double.*Coercing .*c to type double")
20605+
test(2297.02, y[x, on=.(d == a, c == a), verbose=TRUE], data.table(c=1L, d=1L), output="Coercing .*a to type double.*Coercing .*c to type double")
2060620606
x = data.table(a=1)
2060720607
y = data.table(c=1, d=1L)
20608-
test(2297.03, options=c(datatable.verbose=TRUE), y[x, on=.(c == a, d == a)], data.table(c=1L, d=1L), output="Coercing double column x.c (which contains no fractions) to type integer")
20609-
test(2297.04, options=c(datatable.verbose=TRUE), y[x, on=.(d == a, c == a)], data.table(c=1L, d=1L), output="Coercing double column x.c (which contains no fractions) to type integer")
20608+
test(2297.03, y[x, on=.(c == a, d == a), verbose=TRUE], data.table(c=1L, d=1L), output="Coercing .*a .*no fractions.* to type integer.*Coercing .*c .*no fractions.* to type integer")
20609+
test(2297.04, y[x, on=.(d == a, c == a), verbose=TRUE], data.table(c=1L, d=1L), output="Coercing .*a .*no fractions.* to type integer.*Coercing .*c .*no fractions.* to type integer")
2061020610
# dates
2061120611
d_int = .Date(1L)
2061220612
d_dbl = .Date(1)

0 commit comments

Comments
 (0)