diff options
-rw-r--r-- | crates/libsyntax2/tests/test/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/libsyntax2/tests/test/main.rs b/crates/libsyntax2/tests/test/main.rs index ce7e075f8..2b68673c6 100644 --- a/crates/libsyntax2/tests/test/main.rs +++ b/crates/libsyntax2/tests/test/main.rs | |||
@@ -27,7 +27,7 @@ fn lexer_tests() { | |||
27 | fn reparse_test() { | 27 | fn reparse_test() { |
28 | fn do_check(before: &str, replace_with: &str) { | 28 | fn do_check(before: &str, replace_with: &str) { |
29 | let (range, before) = extract_range(before); | 29 | let (range, before) = extract_range(before); |
30 | let after = libsyntax2::replace_range(before.clone(), range, replace_with); | 30 | let after = libsyntax2::text_utils::replace_range(before.clone(), range, replace_with); |
31 | 31 | ||
32 | let fully_reparsed = File::parse(&after); | 32 | let fully_reparsed = File::parse(&after); |
33 | let incrementally_reparsed = { | 33 | let incrementally_reparsed = { |