()
| 123 | |
| 124 | #[test] |
| 125 | fn should_replace_characters() { |
| 126 | let mut s = MagicString::new("abcdefghijkl"); |
| 127 | s.overwrite(5, 8, "FGH"); |
| 128 | assert_eq!(s.to_string(), "abcdeFGHijkl"); |
| 129 | } |
| 130 | |
| 131 | // #[test] |
| 132 | // fn should_throw_an_error_if_overlapping_replacements_are_attempted() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…