Fix a 5.70/5.80 behavior change in Catalyst::Utils::ensure_class_loaded, pointed...
[catagits/Catalyst-Runtime.git] / t / lib / NullPackage.pm
diff --git a/t/lib/NullPackage.pm b/t/lib/NullPackage.pm
new file mode 100644 (file)
index 0000000..47dcfda
--- /dev/null
@@ -0,0 +1,7 @@
+package NullPackage;
+# Do nothing class, there should be no code or symbols defined here..
+# Loading this works fine in 5.70, but a die was introduced in 5.80 which caused
+# it to fail. This has been changed to a warning to maintain back-compat.
+# See Catalyst::Utils::ensure_class_loaded() for more info.
+1;
+