Skip to content

Commit

Permalink
Add a test showing that domenic#52 does not seem to be a problem
Browse files Browse the repository at this point in the history
Closes domenic#52.
  • Loading branch information
domenic committed Sep 10, 2016
1 parent cb92097 commit 06ac831
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/inputs/viewbox-only-2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added test/success-tests/17.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions test/success-tests/tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,11 @@
"file": "media-queries.svg",
"resize": { "width": 500 },
"notes to validate": "zebra should be blue; size should be 500x1032"
},
{
"name": "viewBox only regression test (https://github.com/domenic/svg2png/issues/52#issuecomment-244912343)",
"file": "viewbox-only-2.svg",
"resize": { "width": 640, "height": 640 },
"notes to validate": "should not fail"
}
]

0 comments on commit 06ac831

Please sign in to comment.