From c60db6b1be77e20445963ef96c7aa99fe608f3a6 Mon Sep 17 00:00:00 2001 From: Doug Bell Date: Thu, 30 Apr 2009 19:27:21 +0000 Subject: [PATCH] fix now that things are packed --- t/Asset/Template.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/Asset/Template.t b/t/Asset/Template.t index 41a4151e2..ae3579181 100644 --- a/t/Asset/Template.t +++ b/t/Asset/Template.t @@ -44,7 +44,7 @@ $var{variable} = "BBBBB"; $output = $template->process(\%var); ok($output =~ m/\bBBBBB\b/, "process() - variables"); ok($output =~ m/true/, "process() - conditionals"); -ok($output =~ m/\s(?:XY){5}\s/, "process() - loops"); +ok($output =~ m/\b(?:XY){5}\b/, "process() - loops"); my $newList = WebGUI::Asset::Template->getList($session, 'WebGUI Test Template'); ok(exists $newList->{$template->getId}, 'Uncommitted template exists returned from getList');