summaryrefslogtreecommitdiffstats
path: root/t/020-BUILD.t
diff options
context:
space:
mode:
Diffstat (limited to 't/020-BUILD.t')
-rw-r--r--t/020-BUILD.t10
1 files changed, 5 insertions, 5 deletions
diff --git a/t/020-BUILD.t b/t/020-BUILD.t
index 8473dd3..aceff03 100644
--- a/t/020-BUILD.t
+++ b/t/020-BUILD.t
@@ -48,10 +48,10 @@ sub BUILD {
package main;
my $foo_moose = Foo::Moose->new;
-is $foo_moose->class, 'Foo::Moose', 'BUILD method called properly';
-is $foo_moose->accum, 'a', 'BUILD method called properly';
+is($foo_moose->class, 'Foo::Moose', 'BUILD method called properly');
+is($foo_moose->accum, 'a', 'BUILD method called properly');
my $foo_moose_sub = Foo::Moose::Sub->new;
-is $foo_moose_sub->class, 'Foo::Moose::Sub', 'parent BUILD method called';
-is $foo_moose_sub->bar, 'BAR', 'child BUILD method called';
-is $foo_moose_sub->accum, 'ab', 'BUILD methods called in the correct order';
+is($foo_moose_sub->class, 'Foo::Moose::Sub', 'parent BUILD method called');
+is($foo_moose_sub->bar, 'BAR', 'child BUILD method called');
+is($foo_moose_sub->accum, 'ab', 'BUILD methods called in the correct order');