Permalink
Browse files

Changed 03-custom-modifiers.t to use load-modifiers().

  • Loading branch information...
1 parent b3ab14f commit 6da6654ac524ff3b8e5e6288017e7fc2d792105d @supernovus committed Oct 9, 2010
Showing with 1 addition and 2 deletions.
  1. +1 −2 t/03-custom-modifiers.t
View
@@ -11,7 +11,6 @@ BEGIN {
use Test;
use Flower;
-use Example::Modifiers;
plan 1;
@@ -20,7 +19,7 @@ my $xml = '<?xml version="1.0"?>';
my $template = '<test><woah tal:replace="woah:crazy"/></test>';
my $flower = Flower.new(:template($template));
-$flower.add-modifiers(Example::Modifiers::all());
+$flower.load-modifiers('Example::Modifiers');
is $flower.parse(crazy => 'hello world'), $xml~'<test>Woah, hello world, that\'s awesome!</test>', 'custom modifiers';

0 comments on commit 6da6654

Please sign in to comment.