aboutsummaryrefslogtreecommitdiff
path: root/Tests/otlLib/builder_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/otlLib/builder_test.py')
-rw-r--r--Tests/otlLib/builder_test.py19
1 files changed, 8 insertions, 11 deletions
diff --git a/Tests/otlLib/builder_test.py b/Tests/otlLib/builder_test.py
index 63a35d61..0829176c 100644
--- a/Tests/otlLib/builder_test.py
+++ b/Tests/otlLib/builder_test.py
@@ -913,24 +913,21 @@ class BuilderTest(unittest.TestCase):
"six": builder.buildValue({"YPlacement": -6}),
}, self.GLYPHMAP)
self.assertEqual(sum([getXML(t.toXML) for t in subtables], []),
- ['<SinglePos Format="1">',
+ ['<SinglePos Format="2">',
' <Coverage>',
' <Glyph value="one"/>',
' <Glyph value="two"/>',
- ' <Glyph value="five"/>',
- ' </Coverage>',
- ' <ValueFormat value="1"/>',
- ' <Value XPlacement="500"/>',
- '</SinglePos>',
- '<SinglePos Format="2">',
- ' <Coverage>',
' <Glyph value="three"/>',
' <Glyph value="four"/>',
+ ' <Glyph value="five"/>',
' </Coverage>',
' <ValueFormat value="1"/>',
- ' <!-- ValueCount=2 -->',
- ' <Value index="0" XPlacement="200"/>',
- ' <Value index="1" XPlacement="400"/>',
+ ' <!-- ValueCount=5 -->',
+ ' <Value index="0" XPlacement="500"/>',
+ ' <Value index="1" XPlacement="500"/>',
+ ' <Value index="2" XPlacement="200"/>',
+ ' <Value index="3" XPlacement="400"/>',
+ ' <Value index="4" XPlacement="500"/>',
'</SinglePos>',
'<SinglePos Format="1">',
' <Coverage>',