aboutsummaryrefslogtreecommitdiff
path: root/crates/libsyntax2/tests
diff options
context:
space:
mode:
authordarksv <[email protected]>2018-09-15 12:42:10 +0100
committerdarksv <[email protected]>2018-09-15 12:42:10 +0100
commit16ad5384f0c0427922b2d2d05025412fc8e4addf (patch)
treef92dadbc922b5bb4993e71d0c026bbaa1fffd9a8 /crates/libsyntax2/tests
parenta29211918b728fb83246bfcb43d2ad9c79e182fb (diff)
commit missing file
Diffstat (limited to 'crates/libsyntax2/tests')
-rw-r--r--crates/libsyntax2/tests/test/main.rs2
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() {
27fn reparse_test() { 27fn 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 = {