diff options
author | franck cuny <franck@lumberjaph.net> | 2009-11-26 18:11:34 +0100 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2009-11-26 18:11:34 +0100 |
commit | b8b8bb3d166081a02c85ce4cb4f7c28aca2f2166 (patch) | |
tree | e9aa3575e0c521c96510dd22bbf10c2f16405c9c /t/02_fail.t | |
parent | add error (diff) | |
download | net-http-api-b8b8bb3d166081a02c85ce4cb4f7c28aca2f2166.tar.gz |
add more tests
Diffstat (limited to '')
-rw-r--r-- | t/02_fail.t | 13 |
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; |