From b85f601bdcfc50fd6223048f3c07ba29cbd56346 Mon Sep 17 00:00:00 2001 From: franck cuny Date: Fri, 4 Dec 2009 09:52:26 +0100 Subject: small updates to tests --- t/01_basic.t | 3 +++ 1 file changed, 3 insertions(+) (limited to 't/01_basic.t') diff --git a/t/01_basic.t b/t/01_basic.t index 9c108d2..471f3dd 100644 --- a/t/01_basic.t +++ b/t/01_basic.t @@ -29,4 +29,7 @@ throws_ok { } qr/foo is not declared as a param/, "... check declared params"; +ok my @methods = $obj->meta->local_api_methods(), '... get api methods'; +is scalar @methods, 3, '... got 3 methods in our API'; + done_testing; -- cgit 1.4.1