Rustfmt for 1.38.
A minor change in the recent stable release.
This commit is contained in:
parent
b4bb44292d
commit
b88839cc25
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue