This repository was archived by the owner on Jun 18, 2026. It is now read-only.
Commit 8f2d584
committed
Fix mutant loading wrong simplecov-html code
Mutant's bootstrap appends `includes` to `$LOAD_PATH` via `<<`, leaving
the simplecov gem's lib ahead of `./lib`. Since upstream simplecov ships
a backward-compat `lib/simplecov-html.rb` shim, `require
"simplecov-html"` resolved to that shim instead of our own lib — so
mutant introspected and tested simplecov's bundled HTMLFormatter
(different API) instead of this gem's code.
Switching the require to a relative path bypasses `$LOAD_PATH` search
and loads our local file directly.1 parent 5553230 commit 8f2d584
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
0 commit comments