File: 04-no-import_delegation.t

package info (click to toggle)
libwww-mechanize-treebuilder-perl 1.20000-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 172 kB
  • sloc: perl: 1,418; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 250 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package My::Mech;
use Moose;

extends 'WWW::Mechanize';
with 'WWW::Mechanize::TreeBuilder';

package main;
use strict;
use warnings;
use Test::More tests => 1;

eval { My::Mech->import };
diag $@ if $@;
ok !$@, q{My::Mech->import() doesn't explode};