(content: &str, pattern: &str)
| 1033 | } |
| 1034 | |
| 1035 | fn count_occurrences(content: &str, pattern: &str) -> usize { |
| 1036 | content.matches(pattern).count() |
| 1037 | } |
| 1038 | |
| 1039 | /// Reproduces the real-world mechanism behind the orphan-view duplication |
| 1040 | /// bug: a session whose `SessionStart` fork never ran (or failed silently), |
no test coverage detected