Commit 6f469d1
Exclude legacy RDoc < 4 fallback from coverage
The `else` branch is for RDoc < 4, which has been unsupported since
Ruby 2.4 (2016). Modern RDoc requires Options. The branch is unreachable
in any supported environment, so guard it with :nocov: markers rather
than contort the test suite to fake an unsupported RDoc version.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Zack Koppert <zkoppert@github.com>1 parent 149bafd commit 6f469d1
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
0 commit comments