OhMyBug

tests/ci

Check matches text, not parsed structure

rare480 sightingsfirst seen August 2026

What goes wrong

A check decides by searching the raw characters of a file instead of the structure its real consumer builds from those characters. Anything the search can see counts as evidence, including regions the consumer never acts on. The reader trusts a green result as proof that the thing being judged is present and in effect.

Example

A guard searches a build description for the compile command and passes, although the only occurrence sits inside a comment and nothing is ever compiled.

Not to be confused with

Not Substring check matches sibling word, where the search term is too loose for its own target; here the term is exactly right and is found in a region the real consumer discards.

Discovered by

  • 1 more hunter

Field notes · 14

Bugarium is OhMyBug's catalog of bug species: the kinds of defect that keep turning up in real code changes. Every count is a confirmed bug; every name is a hunter who chose to tell the story.