diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-08-08 10:26:38 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-08-08 10:38:03 -0400 |
commit | 9d68eaf2d7366bc448f722d7638714fba9c34460 (patch) | |
tree | 73b3efc86e8318e1da54044fdfad377aba505ca9 /tests | |
parent | 90b289bba8492e8de2373a23e3023bba70df69bc (diff) | |
download | pango-9d68eaf2d7366bc448f722d7638714fba9c34460.tar.gz |
markup: Allow pt for rise too
Diffstat (limited to 'tests')
-rw-r--r-- | tests/markups/fail-11.expected | 2 | ||||
-rw-r--r-- | tests/markups/valid-21.expected | 14 | ||||
-rw-r--r-- | tests/markups/valid-21.markup | 1 | ||||
-rw-r--r-- | tests/markups/valid-22.expected | 14 | ||||
-rw-r--r-- | tests/markups/valid-22.markup | 1 |
5 files changed, 31 insertions, 1 deletions
diff --git a/tests/markups/fail-11.expected b/tests/markups/fail-11.expected index 96cac741..4332ad5d 100644 --- a/tests/markups/fail-11.expected +++ b/tests/markups/fail-11.expected @@ -1 +1 @@ -ERROR: Value of 'rise' attribute on <span> tag on line 1 could not be parsed; should be an integer, not 'sky'
\ No newline at end of file +ERROR: Value of 'rise' attribute on <span> tag on line 1 could not be parsed; should be an integer, or a string such as '5.5pt', not 'sky'
\ No newline at end of file diff --git a/tests/markups/valid-21.expected b/tests/markups/valid-21.expected new file mode 100644 index 00000000..9dc37dc1 --- /dev/null +++ b/tests/markups/valid-21.expected @@ -0,0 +1,14 @@ +test + + +--- + +range 0 4 +[0,4]rise=2560 +range 4 2147483647 + + +--- + +[0:4] (null) Normal +[4:2147483647] (null) Normal diff --git a/tests/markups/valid-21.markup b/tests/markups/valid-21.markup new file mode 100644 index 00000000..b448051b --- /dev/null +++ b/tests/markups/valid-21.markup @@ -0,0 +1 @@ +<span rise="2.5pt">test</span> diff --git a/tests/markups/valid-22.expected b/tests/markups/valid-22.expected new file mode 100644 index 00000000..194c1960 --- /dev/null +++ b/tests/markups/valid-22.expected @@ -0,0 +1,14 @@ +test + + +--- + +range 0 4 +[0,4]rise=-5000 +range 4 2147483647 + + +--- + +[0:4] (null) Normal +[4:2147483647] (null) Normal diff --git a/tests/markups/valid-22.markup b/tests/markups/valid-22.markup new file mode 100644 index 00000000..dd828041 --- /dev/null +++ b/tests/markups/valid-22.markup @@ -0,0 +1 @@ +<span rise="-5000">test</span> |