[Rt-commit] rt branch, new-style-templates, updated. rt-3.8.8-217-g015855d

Shawn Moore sartak at bestpractical.com
Mon Jul 26 18:37:06 EDT 2010


The branch, new-style-templates has been updated
       via  015855dce212a8e631c3afd7915756262d9f998f (commit)
      from  b35e3cba7d6abd3c66b931bce64e30218c8c0bdf (commit)

Summary of changes:
 t/api/template-simple.t |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 015855dce212a8e631c3afd7915756262d9f998f
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Mon Jul 26 18:38:54 2010 -0400

    Test a syntax error

diff --git a/t/api/template-simple.t b/t/api/template-simple.t
index e589565..4697e1c 100644
--- a/t/api/template-simple.t
+++ b/t/api/template-simple.t
@@ -1,7 +1,7 @@
 use strict;
 use warnings;
 use RT;
-use RT::Test tests => 175;
+use RT::Test tests => 186;
 
 my $queue = RT::Queue->new($RT::SystemUser);
 $queue->Load("General");
@@ -144,6 +144,12 @@ TemplateTest(
     SimpleOutput => "test { \$Ticket->OwnerObj->Name }",
 );
 
+TemplateTest(
+    Content      => "\ntest { *!( }",
+    FullOutput   => undef,
+    SimpleOutput => "test { *!( }",
+);
+
 is($ticket->Status, 'new', "test setup");
 SimpleTemplateTest(
     Content => "\ntest { \$Ticket->Resolve }",

-----------------------------------------------------------------------


More information about the Rt-commit mailing list