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

Commit 7157a37

Browse files
committed
Adapt format integration test to use new range
1 parent 02ee44d commit 7157a37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1763,7 +1763,7 @@ fn client_reformat() {
17631763
assert_eq!(result.unwrap()[0], TextEdit {
17641764
range: Range {
17651765
start: Position { line: 0, character: 0 },
1766-
end: Position { line: 2, character: 0 },
1766+
end: Position { line: 1, character: u64::max_value() },
17671767
},
17681768
new_text: "pub mod foo;\npub fn main() {\n let world = \"world\";\n println!(\"Hello, {}!\", world);\n}".to_string(),
17691769
});

0 commit comments

Comments
 (0)