Skip to content

Commit

Permalink
Make the issue bodil#124 fixture work on Windows. 🤦‍♀️
Browse files Browse the repository at this point in the history
  • Loading branch information
bodil committed Jul 14, 2020
1 parent 1074663 commit d8d8198
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ord/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2382,6 +2382,7 @@ mod test {
let mut map = OrdMap::new();
let contents = include_str!("test-fixtures/issue_124.txt");
for line in contents.split('\n') {
let line = line.trim();
if line.starts_with("insert ") {
map.insert(line[7..].parse::<u32>().unwrap(), 0);
} else if line.starts_with("remove ") {
Expand Down

0 comments on commit d8d8198

Please sign in to comment.