summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2019-03-31 17:18:59 +0200
committerLaurenz <laurmaedje@gmail.com>2019-03-31 17:18:59 +0200
commitb24bac7cae6283a4f29bdba844d6ba56831fd1bb (patch)
treeec0b0df6cf84931d255b38c5f678a21a6af4e21d /src/lib.rs
parenta522a15a66f737035cead527dc0eca14c3605deb (diff)
Fix bug with special characters 🚧
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index b9992b42..65955d48 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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