summaryrefslogtreecommitdiffstats
path: root/t/data/compile-error
diff options
context:
space:
mode:
Diffstat (limited to 't/data/compile-error')
-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;