Skip to content

Commit

Permalink
* added test for pre-chomp bug
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.tt2.org/tt/Template2/trunk@906 d5a88997-0a34-4036-9ed2-92fb5d660d91
  • Loading branch information
abw committed Jan 30, 2006
1 parent 5c90b0f commit 3db0de7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions t/fileline.t
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,14 @@ World
file: (eval 10)
line: 10
warn: Argument "" isn't numeric in addition (+)
-- test --
[% TRY;
INCLUDE chomp;
CATCH;
error;
END
%]
-- expect --
file error - parse error - chomp line 6: unexpected token (END)
[% END %]

0 comments on commit 3db0de7

Please sign in to comment.