OhMyBug

tests/ci

Fixture makes both branches identical

rare25 sightingsfirst seen September 2026

What goes wrong

The setup data is chosen so that the correct path and the wrong one return the same answer, so no assertion can tell which of them ran. The suite stays green either way, and the reader takes that green result as proof the intended path was taken.

Example

A test proves a value is handed down from the settings object, but the fixture sets that setting to the same number the built-in default already gives.

Not to be confused with

Not an assertion that cannot fail, where the check itself is vacuous; here the check is sound and it is the chosen data that erases the difference the check would otherwise catch.

Discovered by

Field notes · 20