cli/tests/bench.test.ts:23 ("rejects moc args with embedded spaces") asserts stderr matches /invalid warning code/. With a newer moc the run still fails as intended, but moc prints its --help output instead of that message, so the assertion fails.
CI pins moc 0.14.13 and passes, so this only shows up locally — it is the one failing test on main on a dev machine, which makes it easy to mistake for damage from whatever you are working on.
Either assert the exit code and a version-agnostic fragment, or pin the moc version for that test case.
cli/tests/bench.test.ts:23("rejects moc args with embedded spaces") assertsstderrmatches/invalid warning code/. With a newermocthe run still fails as intended, but moc prints its--helpoutput instead of that message, so the assertion fails.CI pins
moc 0.14.13and passes, so this only shows up locally — it is the one failing test onmainon a dev machine, which makes it easy to mistake for damage from whatever you are working on.Either assert the exit code and a version-agnostic fragment, or pin the moc version for that test case.