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