File: 01use.t

package info (click to toggle)
libcatalyst-dispatchtype-regex-perl 5.90033-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 200 kB
  • ctags: 62
  • sloc: perl: 763; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 604 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use Test::More;
# This kludge is necessary to avoid failing due to circular dependencies
# with Catalyst-Runtime. Not ideal, but until we remove CDR from
# Catalyst-Runtime prereqs, this is necessary to avoid Catalyst-Runtime build
# failing.
BEGIN {
    plan skip_all => 'Catalyst::Runtime required'
        unless eval { require Catalyst };
    plan skip_all => 'Test requires Catalyst::Runtime >= 5.90030' unless $Catalyst::VERSION >= 5.90030;
    plan tests => 1;
}

use_ok( 'Catalyst::DispatchType::Regex' );

diag( "Testing Catalyst::DispatchType::Regex $Catalyst::DispatchType::Regex::VERSION" );