summary refs log tree commit diff
path: root/t/02_fail.t
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2009-11-26 18:11:34 +0100
committerfranck cuny <franck@lumberjaph.net>2009-11-26 18:11:34 +0100
commitb8b8bb3d166081a02c85ce4cb4f7c28aca2f2166 (patch)
treee9aa3575e0c521c96510dd22bbf10c2f16405c9c /t/02_fail.t
parentadd error (diff)
downloadmoosex-net-api-b8b8bb3d166081a02c85ce4cb4f7c28aca2f2166.tar.gz
add more tests
Diffstat (limited to 't/02_fail.t')
-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;