[test] Fix problem with N'ko test direction
authorBehdad Esfahbod <behdad@behdad.org>
Sun, 31 Jul 2011 00:21:40 +0000 (20:21 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Sun, 31 Jul 2011 00:21:40 +0000 (20:21 -0400)
Old HarfBuzz test suite always shaped as left-to-right and hence had wrong
0x14db, direction expected glyphstring for N'ko.  Doh!

Failures down from 92 to 88.

test/test-shape-complex.c

index 6e22fa5..bbb47df 100644 (file)
@@ -956,19 +956,19 @@ static const test_set_t tests_nko = {
     },
     { "",
       { 0x7ca, 0x7ca, 0 },
-      { 0x14db, 0x14d9, 0 }
+      { 0x14d9, 0x14db, 0 }
     },
     { "",
       { 0x7ca, 0x7fa, 0x7ca, 0 },
-      { 0x14db, 0x5ec, 0x14d9, 0 }
+      { 0x14d9, 0x5ec, 0x14db, 0 }
     },
     { "",
       { 0x7ca, 0x7f3, 0x7ca, 0 },
-      { 0x14db, 0x5e7, 0x14d9, 0 }
+      { 0x14d9, 0x5e7, 0x14db, 0 }
     },
     { "",
       { 0x7ca, 0x7f3, 0x7fa, 0x7ca, 0 },
-      { 0x14db, 0x5e7, 0x5ec, 0x14d9, 0 }
+      { 0x14d9, 0x5ec, 0x5e7, 0x14db, 0 }
     },
     {{0}}
   }