summaryrefslogtreecommitdiffstats
path: root/t/data
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-06-21 01:08:40 -0400
committerJesse Luehrs <doy@tozt.net>2013-06-21 01:08:40 -0400
commit0b8f07dffcac7063775d31a9fef6424a2141ab39 (patch)
tree3117576229e91bdd67a106671b85bce6b120aa18 /t/data
parent889ca3fbbdd079873d52f94a23b01896be8f48de (diff)
downloadclass-refresh-0b8f07dffcac7063775d31a9fef6424a2141ab39.tar.gz
class-refresh-0b8f07dffcac7063775d31a9fef6424a2141ab39.zip
fix up this test a bit
Diffstat (limited to 't/data')
-rw-r--r--t/data/compile-error/after/Foo.pm2
-rw-r--r--t/data/compile-error/before/Foo.pm2
-rw-r--r--t/data/compile-error/middle/Foo.pm2
3 files changed, 3 insertions, 3 deletions
diff --git a/t/data/compile-error/after/Foo.pm b/t/data/compile-error/after/Foo.pm
index 18b5fa8..fe8e08b 100644
--- a/t/data/compile-error/after/Foo.pm
+++ b/t/data/compile-error/after/Foo.pm
@@ -3,7 +3,7 @@ use Moose;
has bar => (is => 'ro');
-sub meth { my $error; }
+sub meth { my $error; 3 }
no Moose;
diff --git a/t/data/compile-error/before/Foo.pm b/t/data/compile-error/before/Foo.pm
index a63046a..9faa961 100644
--- a/t/data/compile-error/before/Foo.pm
+++ b/t/data/compile-error/before/Foo.pm
@@ -3,7 +3,7 @@ use Moose;
has foo => (is => 'ro');
-sub meth { }
+sub meth { 1 }
no Moose;
diff --git a/t/data/compile-error/middle/Foo.pm b/t/data/compile-error/middle/Foo.pm
index 3e3946c..d7a61f1 100644
--- a/t/data/compile-error/middle/Foo.pm
+++ b/t/data/compile-error/middle/Foo.pm
@@ -3,7 +3,7 @@ use Moose;
has bar => (is => 'ro');
-sub meth { $error }
+sub meth { $error; 2 }
no Moose;