summaryrefslogtreecommitdiff
path: root/tests/markups
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-08-20 23:22:15 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-08-20 23:22:15 -0400
commitb2c3b6a7ac43fbdedf1f13a240893159c329767f (patch)
tree044871230aec92a8f8725ff47194a3ded8f20da3 /tests/markups
parentd1b01c84b6fbe4e31310f7bb70ce3bd9765b4a81 (diff)
downloadpango-b2c3b6a7ac43fbdedf1f13a240893159c329767f.tar.gz
Add a test for text_transform in markuptext-transform-3
Diffstat (limited to 'tests/markups')
-rw-r--r--tests/markups/valid-24.expected19
-rw-r--r--tests/markups/valid-24.markup1
2 files changed, 20 insertions, 0 deletions
diff --git a/tests/markups/valid-24.expected b/tests/markups/valid-24.expected
new file mode 100644
index 00000000..06eb6e0c
--- /dev/null
+++ b/tests/markups/valid-24.expected
@@ -0,0 +1,19 @@
+straße up, up and away
+
+
+---
+
+range 0 7
+[0,7]text-transform=2
+range 7 8
+range 8 23
+[8,23]text-transform=3
+range 23 2147483647
+
+
+---
+
+[0:7] (null) Normal
+[7:8] (null) Normal
+[8:23] (null) Normal
+[23:2147483647] (null) Normal
diff --git a/tests/markups/valid-24.markup b/tests/markups/valid-24.markup
new file mode 100644
index 00000000..d9a7edd5
--- /dev/null
+++ b/tests/markups/valid-24.markup
@@ -0,0 +1 @@
+<span text_transform='uppercase'>straße</span> <span text_transform='capitalize'>up, up and away</span>