(content: &str, pattern: &str)
| 1067 | } |
| 1068 | |
| 1069 | fn count_occurrences(content: &str, pattern: &str) -> usize { |
| 1070 | content.matches(pattern).count() |
| 1071 | } |
| 1072 | |
| 1073 | /// Reproduces the real-world mechanism behind the orphan-view duplication |
| 1074 | /// bug: a session whose `SessionStart` fork never ran (or failed silently), |
no test coverage detected