From: Vincent Pit Date: Sun, 1 Aug 2010 13:06:10 +0000 (+0200) Subject: Fix cover for Mod::Pattern and Mod::Raw X-Git-Tag: v0.02~19 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=03788848f1b2d570c82eb682bd45bc0d01c5223b;p=perl%2Fmodules%2FLaTeX-TikZ.git Fix cover for Mod::Pattern and Mod::Raw --- diff --git a/lib/LaTeX/TikZ/Mod/Pattern.pm b/lib/LaTeX/TikZ/Mod/Pattern.pm index 230af5b..c3ed9c1 100644 --- a/lib/LaTeX/TikZ/Mod/Pattern.pm +++ b/lib/LaTeX/TikZ/Mod/Pattern.pm @@ -78,7 +78,7 @@ sub tag { ref $_[0] } =cut -sub cover { 1 } +sub cover { 0 } =head2 C diff --git a/lib/LaTeX/TikZ/Mod/Raw.pm b/lib/LaTeX/TikZ/Mod/Raw.pm index 60b2453..e674610 100644 --- a/lib/LaTeX/TikZ/Mod/Raw.pm +++ b/lib/LaTeX/TikZ/Mod/Raw.pm @@ -55,7 +55,7 @@ sub tag { =cut -sub cover { 1 } +sub cover { 0 } =head2 C diff --git a/t/20-mod.t b/t/20-mod.t index 50a869e..878a72b 100644 --- a/t/20-mod.t +++ b/t/20-mod.t @@ -281,7 +281,7 @@ check $seq, 'mod covering 4', <<'RES'; \end{scope} \draw qux ; \end{scope} -\draw [raw3] baz ; +\draw [raw2,raw3] baz ; \end{scope} RES @@ -299,7 +299,7 @@ check $seq, 'mod covering 5', <<'RES'; \end{scope} \draw qux ; \end{scope} -\draw [raw3] baz ; +\draw [raw2,raw3] baz ; \end{scope} RES