diff --git a/t/03-custom-modifiers.t b/t/03-custom-modifiers.t index b798029..ebd85ff 100755 --- a/t/03-custom-modifiers.t +++ b/t/03-custom-modifiers.t @@ -11,7 +11,6 @@ BEGIN { use Test; use Flower; -use Example::Modifiers; plan 1; @@ -20,7 +19,7 @@ my $xml = ''; my $template = ''; my $flower = Flower.new(:template($template)); -$flower.add-modifiers(Example::Modifiers::all()); +$flower.load-modifiers('Example::Modifiers'); is $flower.parse(crazy => 'hello world'), $xml~'Woah, hello world, that\'s awesome!', 'custom modifiers';