Observed in #7091
data.table:::test(1, {warning('a'); 2}, 2, warning=c('a', 'b'))
# Test 1 produced 1 warnings but expected 2
# Expected: a
# Observed: a
# Test 1 produced 1 warnings but expected 2
# Expected: b
# Observed: a
In isolation, it's a bit easier to grok, but in the full test log with potentially more errors, it's harder to mentally "mod out" the first one that does match. Ideally, we can simply not produce any warnings that match as intended, or otherwise signal that there's nothing incorrect with the first case] (i.e., you're not going crazy).
Observed in #7091
In isolation, it's a bit easier to grok, but in the full test log with potentially more errors, it's harder to mentally "mod out" the first one that does match. Ideally, we can simply not produce any warnings that match as intended, or otherwise signal that there's nothing incorrect with the first case] (i.e., you're not going crazy).