Skip to content

Commit

Permalink
Merge pull request #1038 from ehuss/rustfmt-1.38
Browse files Browse the repository at this point in the history
Rustfmt for 1.38.
  • Loading branch information
ehuss authored Sep 26, 2019
2 parents b4bb442 + b88839c commit 996ac38
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -448,18 +448,12 @@ more text with spaces

#[test]
fn it_converts_single_quotes() {
assert_eq!(
convert_quotes_to_curly("'one', 'two'"),
"‘one’, ‘two’"
);
assert_eq!(convert_quotes_to_curly("'one', 'two'"), "‘one’, ‘two’");
}

#[test]
fn it_converts_double_quotes() {
assert_eq!(
convert_quotes_to_curly(r#""one", "two""#),
"“one”, “two”"
);
assert_eq!(convert_quotes_to_curly(r#""one", "two""#), "“one”, “two”");
}

#[test]
Expand Down

0 comments on commit 996ac38

Please sign in to comment.