Commit 3e45626
fix(ego-lint): sync check-resources.py reason strings with build-resource-graph.py
build-resource-graph.py changed its reason strings when adding onDestroy()
support, but check-resources.py still matched the old substrings. This
caused orphan classification for no-destroy-method and destroy-not-called
to silently fall through to the generic type-based routing.
Also strengthens the on-destroy-cleanup test with a positive assertion
that resource tracking actually ran, preventing vacuous negative passes.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 8b00575 commit 3e45626
2 files changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
| 55 | + | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
| 60 | + | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
609 | 609 | | |
610 | 610 | | |
611 | 611 | | |
612 | | - | |
| 612 | + | |
| 613 | + | |
613 | 614 | | |
614 | 615 | | |
615 | 616 | | |
| |||
0 commit comments