1
# Copyright (c) 2009 by David Golden. All rights reserved.
2
# Licensed under Apache License, Version 2.0 (the "License").
3
# You may not use this file except in compliance with the License.
4
# A copy of the License was distributed with this file or you may obtain a
5
# copy of the License from http://www.apache.org/licenses/LICENSE-2.0
19
plan tests => 2 + 2 * @api;
21
require_ok( 'Capture::Tiny' );
23
can_ok('Capture::Tiny', $_) for @api;
25
ok( eval "package Foo; use Capture::Tiny ':all'; 1", "import ':all' to Foo" );
27
can_ok('Foo', $_) for @api;