X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F10-set.t;h=190846c6972956359b799d9f0db65f28fcf7b206;hb=ee0f9123624eb8e48675f80303ed436b9a94e348;hp=f21f587578d972afa6e00e4a27f2ada043b80d16;hpb=ab2e6e400073c35ae59b532ac8a9fb8f40fd1a3c;p=perl%2Fmodules%2FLaTeX-TikZ.git diff --git a/t/10-set.t b/t/10-set.t index f21f587..190846c 100644 --- a/t/10-set.t +++ b/t/10-set.t @@ -6,9 +6,8 @@ use warnings; use Test::More tests => 12 + 2 * 7; use LaTeX::TikZ; -use LaTeX::TikZ::Formatter; -my $tikz = LaTeX::TikZ::Formatter->new( +my $tikz = Tikz->formatter( format => '%d', ); @@ -129,7 +128,7 @@ eval { }; is $@, '', 'adding something to a path set doesn\'t croak'; -check [ $path, $path ], 'two identical path sets', <<'RES'; +check Tikz->seq($path, $path), 'two identical path sets', <<'RES'; \draw foo bar baz foo ; \draw foo bar baz foo ; RES