From 3af161ea86f4f543ba7a6bb16f83595b980e5d04 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 11 Jul 2019 11:51:25 -0400 Subject: Add a test for itemization with attributes This tests that font_fatures don't break runs anymore. --- tests/itemize/two.expected | 8 ++++++++ tests/itemize/two.items | 3 +++ 2 files changed, 11 insertions(+) create mode 100644 tests/itemize/two.expected create mode 100644 tests/itemize/two.items diff --git a/tests/itemize/two.expected b/tests/itemize/two.expected new file mode 100644 index 00000000..f0adbad0 --- /dev/null +++ b/tests/itemize/two.expected @@ -0,0 +1,8 @@ +one two two three + +Items: one |tw |o | |two | |th |r |ee +Font: Cantarell 11|Cantarell 11 |Cantarell 11 |Cantarell 11 |Cantarell 11 |Cantarell 11 |Cantarell 11|Cantarell Bold 11|Cantarell 11 +Script: Latn |Latn |Latn |Latn |Latn |Latn |Latn |Latn |Latn +Lang: en-us |en-us |en-us |en-us |en-us |en-us |en-us |en-us |en-us +Bidi: 0 |0 |0 |0 |0 |0 |0 |0 |0 +Attrs: |[4,12]features=tnum=0|[4,12]features=tnum=0,[6,7]underline=1|[4,12]features=tnum=0|[4,12]features=tnum=0,[8,11]features=dlig=1|[4,12]features=tnum=0| | | diff --git a/tests/itemize/two.items b/tests/itemize/two.items new file mode 100644 index 00000000..4ba41454 --- /dev/null +++ b/tests/itemize/two.items @@ -0,0 +1,3 @@ +# test that font_features attributes don't break the +# runs anymore (but other attributes do) +one two two three -- cgit v1.2.1