[librsvg] Remove tests/fixtures/reftests/bugs/548494.svg, add a parser test for it



commit 98f7831442bca65b236e62a136d2d1fbf35dba84
Author: Federico Mena Quintero <federico gnome org>
Date:   Fri Feb 2 10:37:42 2018 -0600

    Remove tests/fixtures/reftests/bugs/548494.svg, add a parser test for it
    
    The test was for parsing path data like
    
        M.10.20
    
    where adjacent fractional numbers have no space between them.  We have
    a parsing test rather than an image reftest for it now.

 rust/src/path_parser.rs                     |   7 +++++++
 tests/fixtures/reftests/bugs/548494-ref.png | Bin 695 -> 0 bytes
 tests/fixtures/reftests/bugs/548494.svg     |   5 -----
 3 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/rust/src/path_parser.rs b/rust/src/path_parser.rs
index cdf66ef..0ed20d0 100644
--- a/rust/src/path_parser.rs
+++ b/rust/src/path_parser.rs
@@ -1022,6 +1022,13 @@ mod tests {
                      ],
                      None);
 
+        test_parser ("M10.5.50",
+                     "",
+                     &vec![
+                         moveto (10.5, 0.50)
+                     ],
+                     None);
+
         test_parser ("M.10.20",
                      "",
                      &vec![


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