Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

Commit

Permalink
add tests: check preserving string literal
Browse files Browse the repository at this point in the history
  • Loading branch information
monaqa committed Nov 24, 2023
1 parent 351aff2 commit 55f6068
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/src/tests/snippets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ make_test!(official, OFFICIAL);
make_test!(raw_text, RAW);
make_test!(tabs, TABS);
make_test!(on_off, ON_OFF);
test_eq!(string_literal_in_math_mode, r#"$ a " x" $"#);
test_eq!(string_literal_in_code_mode, r#"#raw(" foo ");"#);
test_eq!(
line_wrap_off,
"a very very very very very very very very very very very very very long line",
Expand Down

0 comments on commit 55f6068

Please sign in to comment.