Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 6b6f307

Browse files
committed
Adapt format integration test to use new range
1 parent ed4da94 commit 6b6f307

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/client.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1756,7 +1756,7 @@ fn client_reformat() {
17561756
assert_eq!(result.unwrap()[0], TextEdit {
17571757
range: Range {
17581758
start: Position { line: 0, character: 0 },
1759-
end: Position { line: 2, character: 0 },
1759+
end: Position { line: 1, character: u64::max_value() },
17601760
},
17611761
new_text: "pub mod foo;\npub fn main() {\n let world = \"world\";\n println!(\"Hello, {}!\", world);\n}".to_string(),
17621762
});

0 commit comments

Comments
 (0)