Skip to content

Commit f1997e0

Browse files
committed
fix test cases
1 parent 935ac60 commit f1997e0

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
@@ -20600,10 +20600,10 @@ test(2296, d2[x %no such operator% 1], error = '%no such operator%')
2060020600

2060120601
# coerce Dates to double if join on multiple columns, #6602
2060220602
x = data.table(a=1L)
20603-
y = data.table(c=1L, d=2)
20603+
y = data.table(c=1L, d=1)
2060420604
test(2297.1, options=c(datatable.verbose=TRUE), y[x, on=.(c == a, d == a)], data.table(c=1L, d=1L), output="Coercing .*c to type double")
2060520605
test(2297.2, options=c(datatable.verbose=TRUE), y[x, on=.(d == a, c == a)], data.table(c=1L, d=1L), output="Coercing .*c to type double")
2060620606
x = data.table(a=1)
20607-
y = data.table(c=1, d=2L)
20608-
test(2297.3, 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.4, 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")
20607+
y = data.table(c=1, d=1L)
20608+
test(2297.3, options=c(datatable.verbose=TRUE), y[x, on=.(c == a, d == a)], data.table(c=1, d=1), output="Coercing .*d to type double")
20609+
test(2297.4, options=c(datatable.verbose=TRUE), y[x, on=.(d == a, c == a)], data.table(c=1, d=1), output="Coercing .*d to type double")

0 commit comments

Comments
 (0)