Commit 7353ff6
authored
Update tableby_test.go
table: adjust QueryBy test to count only non-nil rows
The QueryBy method currently delegates to QueryByHoles, which means it may
return rows with deletion holes (nil or empty rows). To accurately test
logical matches, the test now counts only non-nil, non-empty rows when
verifying expected results. This ensures the test reflects the actual
behavior without prematurely enforcing the new hole-skipping semantics
planned for a future non-patch release.1 parent d3cbd51 commit 7353ff6
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
57 | 64 | | |
58 | | - | |
59 | 65 | | |
60 | 66 | | |
61 | 67 | | |
| |||
0 commit comments