summary refs log tree commit diff
path: root/t/02_fail.t
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--t/02_fail.t13
1 files changed, 13 insertions, 0 deletions
diff --git a/t/02_fail.t b/t/02_fail.t
new file mode 100644
index 0000000..f73cad9
--- /dev/null
+++ b/t/02_fail.t
@@ -0,0 +1,13 @@
+use strict;
+use warnings;
+use Test::More;
+use Test::Exception;
+use lib ('t/lib');
+
+dies_ok { require FakeAPIFail }
+"... can't declare a required param that have not been declared";
+
+dies_ok {require FakeAPIFail2 }
+"... can't declare a required param that have not been declared";
+
+done_testing;