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

Commit

Permalink
Fix cmd_format_utf16_range test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Xanewok committed Nov 20, 2018
1 parent 3c29b47 commit 92bf23e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1300,6 +1300,7 @@ fn cmd_format_utf16_range() {
let new_text: Vec<_> = result
.iter()
.map(|o| o["newText"].as_str().unwrap())
.map(|text| text.replace('\r', ""))
.collect();
// Actual formatting isn't important - what is, is that the buffer isn't
// malformed and code stays semantically equivalent.
Expand Down

0 comments on commit 92bf23e

Please sign in to comment.