aboutsummaryrefslogtreecommitdiff
path: root/crates/base_db/src
diff options
context:
space:
mode:
authorLukas Wirth <[email protected]>2021-06-19 21:31:24 +0100
committerLukas Wirth <[email protected]>2021-06-19 21:33:29 +0100
commit2113c467970ed80155bd4c6d8c5efa7dc0c114d1 (patch)
tree349e09755a03480e318d32acd322bbee78787abd /crates/base_db/src
parentc2aa7782d65c4f2765f68b99f00f4203e1f143c1 (diff)
Cleanup insert_use tests
Diffstat (limited to 'crates/base_db/src')
-rw-r--r--crates/base_db/src/fixture.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/base_db/src/fixture.rs b/crates/base_db/src/fixture.rs
index d0c946d83..6ce377710 100644
--- a/crates/base_db/src/fixture.rs
+++ b/crates/base_db/src/fixture.rs
@@ -106,7 +106,7 @@ impl ChangeFixture {
106 let (range_or_offset, text) = extract_range_or_offset(&entry.text); 106 let (range_or_offset, text) = extract_range_or_offset(&entry.text);
107 assert!(file_position.is_none()); 107 assert!(file_position.is_none());
108 file_position = Some((file_id, range_or_offset)); 108 file_position = Some((file_id, range_or_offset));
109 text.to_string() 109 text
110 } 110 }
111 } else { 111 } else {
112 entry.text.clone() 112 entry.text.clone()