Commit d61f2a0
Include additional tags in AggregateEntry test equality contract
The helper's equals() omitted getAdditionalTags() while keyHash folds it in, so
entries differing only in additional tags compared equal yet produced different
hash codes -- letting matcher-based tests silently accept missing or wrong
additional dimensions. Compare the arrays positionally (schema order) to match
the key identity.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 49d370d commit d61f2a0
1 file changed
Lines changed: 5 additions & 1 deletion
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
174 | 175 | | |
175 | 176 | | |
176 | 177 | | |
177 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
178 | 182 | | |
179 | 183 | | |
180 | 184 | | |
| |||
0 commit comments