[librsvg] tests: Make styles test not fail to setup



commit ed8d12be5c3018d5fd80b2c0a465abf036151dbd
Author: Benjamin Otte <otte redhat com>
Date:   Sun Oct 18 20:51:05 2015 +0200

    tests: Make styles test not fail to setup
    
    Did anybody ever run this test?

 tests/styles.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/styles.c b/tests/styles.c
index d09b1f2..02b6cb2 100644
--- a/tests/styles.c
+++ b/tests/styles.c
@@ -97,8 +97,8 @@ static const FixtureData fixtures[] =
     {"/styles/selectors/2 or more selectors (stroke)", "592207", "styles/bug592207.svg", "#target", 
"stroke", .expected.color = 0xff0000ff},
     {"/styles/svg-element-style", "615701", "styles/svg-class.svg", "#svg", "fill", .expected.color = 
0xff0000ff},
     {"/styles/presentation attribute in svg element", "620693", "styles/bug620693.svg", "#svg", "stroke", 
.expected.color = 0xffff0000},
-    {"/styles/!important", "379629", "styles/bug379629.svg", "#base_shadow", "stroke", .expected.color = 
0xffffc0cb /* pink */},
-    {"/styles/!important", "379629", "styles/bug379629.svg", "#base_shadow", "stroke-width", 
.expected.length = {POINTS_LENGTH(5.), 'i'}},
+    {"/styles/!important/stroke", "379629", "styles/bug379629.svg", "#base_shadow", "stroke", 
.expected.color = 0xffffc0cb /* pink */},
+    {"/styles/!important/stroke-width", "379629", "styles/bug379629.svg", "#base_shadow", "stroke-width", 
.expected.length = {POINTS_LENGTH(5.), 'i'}},
     {"/styles/!important/class", "614606", "styles/bug614606.svg", "#path6306", "fill", .expected.color = 
0xffff0000 /* red */ },
     {"/styles/!important/element", "614606", "styles/bug614606.svg", "#path6308", "fill", .expected.color = 
0xff000000},
     {"/styles/!important/#id prior than class", NULL, "styles/important.svg", "#red", "fill", 
.expected.color = 0xffff0000 },


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]