diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-03-31 17:18:59 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-03-31 17:18:59 +0200 |
| commit | b24bac7cae6283a4f29bdba844d6ba56831fd1bb (patch) | |
| tree | ec0b0df6cf84931d255b38c5f678a21a6af4e21d /src | |
| parent | a522a15a66f737035cead527dc0eca14c3605deb (diff) | |
Fix bug with special characters 🚧
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib.rs | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -174,9 +174,7 @@ mod test { #[test] fn small() { - test("unicode", "∑mbe∂∂ed font with Unicode!"); test("parentheses", "Text with ) and ( or (enclosed) works."); - test("composite-glyph", "Composite character‼"); test("multiline"," Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam @@ -186,7 +184,17 @@ mod test { } #[test] - fn long_styled() { + fn unicode() { + test("unicode", "∑mbe∂∂ed font with Unicode!"); + } + + #[test] + fn composite_glyph() { + test("composite-glyph", "Composite character‼"); + } + + #[test] + fn long_wikipedia() { test("wikipedia", r#" Typesetting is the composition of text by means of arranging physical types or the digital equivalents. Stored letters and other symbols (called sorts in mechanical |
