Merge pull request #1038 from ehuss/rustfmt-1.38

Rustfmt for 1.38.
This commit is contained in:
Eric Huss 2019-09-26 10:13:00 -07:00 committed by GitHub
commit 996ac382c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 8 deletions

View File

@ -448,18 +448,12 @@ more text with spaces
#[test] #[test]
fn it_converts_single_quotes() { fn it_converts_single_quotes() {
assert_eq!( assert_eq!(convert_quotes_to_curly("'one', 'two'"), "one, two");
convert_quotes_to_curly("'one', 'two'"),
"one, two"
);
} }
#[test] #[test]
fn it_converts_double_quotes() { fn it_converts_double_quotes() {
assert_eq!( assert_eq!(convert_quotes_to_curly(r#""one", "two""#), "“one”, “two”");
convert_quotes_to_curly(r#""one", "two""#),
"“one”, “two”"
);
} }
#[test] #[test]