Repository navigation
Commit 4bef5f8
committed
test(webview): pin the restore's partial-flag half from its own output
What: the "still streams if a restored text row is left partial" case now
builds its input by running the restore and putting `partial` back, instead of
hand-writing the same message the `it.each` arm already covers.
Why: the hand-written input was byte-identical to the `text` arm of the
streaming `it.each`, so the case asserted a duplicate of a shape already pinned
and never exercised the restore path it is named for. Deriving the input from
the restore output keeps the `partial: false` half pinned to the code that
clears it.
Impact: test-only. The case still fails when the restore leaves `partial` set,
and now also fails when the restore drops the row instead of re-adding it.1 parent 38d242e commit 4bef5f8
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
308 | | - | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
309 | 317 | | |
310 | 318 | | |
311 | 319 | | |
| |||
0 commit comments