Permalink
Browse files

added counter example in actual script that shows the code is covered…

… when executed at runtime
  • Loading branch information...
1 parent 9ceef22 commit b5c5e86fce108cd1c04b4806ccd64f4af8b4f536 @wchristian committed Nov 8, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 tags.t
View
7 tags.t
@@ -3,5 +3,12 @@ use warnings;
require LaTeX;
+my %characters = (
+ acute => sub {
+ qq|\\'| . shift
+ },
+);
+
+$characters{'acute'}->( 'a' );
exit;

0 comments on commit b5c5e86

Please sign in to comment.