Commit ea4a9d7
committed
test: clear CS0219 warnings (assigned-but-unused locals)
Three tests computed a local that was never used:
- VT100MachineBypassTests: removed the dead foundC1 scan loop (the comment
already explains it is intentionally not an assertion; the real check is
against the host buffer).
- ScrollablePanelBorderTests: dropped the unused childClicked handler (the
test only verifies ProcessMouseEvent does not throw on a bordered panel).
- TabControlTests.TabCloseRequested_DoesNotAutoRemove: assert the subscribed
closeRequested stays false (adding a closable tab must not fire a close),
alongside the existing tab-count assertion.
Test project now builds warning-clean.1 parent 1b71aba commit ea4a9d7
3 files changed
Lines changed: 7 additions & 21 deletions
File tree
- SharpConsoleUI.Tests
- Controls
- Security
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
439 | | - | |
440 | 439 | | |
441 | | - | |
442 | 440 | | |
443 | 441 | | |
444 | 442 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1614 | 1614 | | |
1615 | 1615 | | |
1616 | 1616 | | |
1617 | | - | |
1618 | | - | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
1619 | 1620 | | |
1620 | 1621 | | |
1621 | 1622 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
59 | 46 | | |
60 | 47 | | |
61 | 48 | | |
| |||
0 commit comments