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

Commit

Permalink
Merge pull request #1133 from Xanewok/windows-test
Browse files Browse the repository at this point in the history
Fix `cmd_format_utf16_range` test on Windows
  • Loading branch information
Xanewok authored Nov 20, 2018
2 parents 1099896 + 92bf23e commit daa138c
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 daa138c

Please sign in to comment.