Move the inline packages out into their own files so that the new test passes. All...
[catagits/Catalyst-Runtime.git] / t / lib / TestPluginWithConstructor.pm
diff --git a/t/lib/TestPluginWithConstructor.pm b/t/lib/TestPluginWithConstructor.pm
new file mode 100644 (file)
index 0000000..e5bdb1c
--- /dev/null
@@ -0,0 +1,11 @@
+# See t/plugin_new_method_backcompat.t
+package TestPluginWithConstructor;
+use strict;
+use warnings;
+sub new {
+    my $class = shift;
+    return bless $_[0], $class;
+}
+
+1;
+