Commit 9224204
fix(scripts): derive the dispatch-gates declaration case count in check-skill-compatibility-version's self-test (#17414)
The self-test's success line hand-transcribed "7 dispatch-gates declaration
cases" while the declFailures block registers 6 decl(...) calls, so the
printed count overstated the real population by one and could drift again
the moment a decl() call is added or removed. decl() now increments a
declCases counter and the success line prints ${declCases} instead of the
literal, mirroring check-skill-frame-sync.mjs's popCases/pop() pattern.
Claude-Session: https://claude.ai/code/session_012GKcPZbMoGq7WPzKLfRBTU
Co-authored-by: Claude <noreply@anthropic.com>1 parent 00ac1c8 commit 9224204
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
777 | 777 | | |
778 | 778 | | |
779 | 779 | | |
780 | | - | |
| 780 | + | |
| 781 | + | |
781 | 782 | | |
782 | 783 | | |
783 | 784 | | |
| |||
864 | 865 | | |
865 | 866 | | |
866 | 867 | | |
867 | | - | |
| 868 | + | |
868 | 869 | | |
869 | 870 | | |
870 | 871 | | |
| |||
0 commit comments