commit
996ac382c1
|
@ -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