Skip to content

Commit

Permalink
Add TODO test for implicit lineto after M command.
Browse files Browse the repository at this point in the history
  • Loading branch information
benkasminbullock committed Dec 6, 2013
1 parent 44918fe commit 0cfdcc8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions t/Image-SVG-Path.t
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,17 @@ eval {
};
ok (! $@, "parse exponential");

TODO: {
local $TODO = 'implicit moveto/lineto combis';
my $implicit = 'M 0,0 -1.733,-6.165';
my @implicit_info;
eval {
@implicit_info = extract_path_info ($implicit);
};
ok (! $@, "parse implicit OK");
is ($implicit_info[1]{type}, 'line-to', "Got lineto from implicit");
}

done_testing ();
exit;

Expand Down

0 comments on commit 0cfdcc8

Please sign in to comment.