Commit 660f7cd
committed
fix(e2e): restore the correct ImportInfo accessor in the ruby spec
79dbdcf regenerated the e2e suite to pick up the napi enum fix and, in the
same pass, replaced a correct ruby assertion with a broken one:
`e.imports[0].source` where `e` is already an ImportInfo. Test Ruby (3.4) and
(4.0) fail with `undefined method 'imports' for an instance of
TreeSitterLanguagePack::ImportInfo` -- 1 failure in 519 examples.
The generator emits this accessor nondeterministically: six consecutive runs of
one binary against a deleted output file produced `e.source` once and
`e.imports[0].source` twice before timing out, with a different alef:hash: stamp
each way. So the bad form was not introduced by any alef change -- the
regeneration landed on the wrong branch of a coin flip and it was committed
without inspecting that hunk. The generator defect is tracked separately; this
restores the correct assertion so the ruby legs pass.1 parent 79dbdcf commit 660f7cd
1 file changed
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments