Skip to content

Commit 587d87d

Browse files
committed
remove ()? in for join msgs
1 parent 7644d41 commit 587d87d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

inst/tests/tests.Rraw

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20634,9 +20634,8 @@ test(2296, d2[x %no such operator% 1], error = '%no such operator%')
2063420634
# fix coercing integer/double for joins on multiple columns, #6602
2063520635
x = data.table(a=1L)
2063620636
y = data.table(c=1L, d=1)
20637-
# 2297.01 and 02: previous test was "Coercing .*a to type double.*Coercing .*c to type double" in which 2nd ".*" silently captures "for join"
20638-
test(2297.01, y[x, on=.(c == a, d == a), verbose=TRUE], data.table(c=1L, d=1L), output="Coercing .*a (.for join.)? to type double.*Coercing .*c to type double")
20639-
test(2297.02, y[x, on=.(d == a, c == a), verbose=TRUE], data.table(c=1L, d=1L), output="Coercing .*a (.for join.)? to type double.*Coercing .*c to type double")
20637+
test(2297.01, y[x, on=.(c == a, d == a), verbose=TRUE], data.table(c=1L, d=1L), output="Coercing .*a .for join. to type double.*Coercing .*c to type double")
20638+
test(2297.02, y[x, on=.(d == a, c == a), verbose=TRUE], data.table(c=1L, d=1L), output="Coercing .*a .for join. to type double.*Coercing .*c to type double")
2064020639
x = data.table(a=1)
2064120640
y = data.table(c=1, d=1L)
2064220641
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")

0 commit comments

Comments
 (0)