(self)
| 407 | assert _normalize_target("concepts/foo--bar") == "concepts/foo-bar" |
| 408 | |
| 409 | def test_preserves_path_separator(self): |
| 410 | assert _normalize_target("concepts/Foo") == "concepts/foo" |
| 411 | # Does not collapse the slash |
| 412 | assert "/" in _normalize_target("concepts/Foo") |
| 413 | |
| 414 | def test_strips_trailing_hyphens_per_segment(self): |
| 415 | assert _normalize_target("concepts/-foo-") == "concepts/foo" |
nothing calls this directly
no test coverage detected