summaryrefslogtreecommitdiff
path: root/t/tests/webcoso.t
diff options
context:
space:
mode:
Diffstat (limited to 't/tests/webcoso.t')
-rw-r--r--t/tests/webcoso.t18
1 files changed, 2 insertions, 16 deletions
diff --git a/t/tests/webcoso.t b/t/tests/webcoso.t
index 6712eff..6676ded 100644
--- a/t/tests/webcoso.t
+++ b/t/tests/webcoso.t
@@ -2,22 +2,8 @@
use Test;
use File::Temp;
use WebCoso;
-
-sub cmp-files($a,$b,$msg) {
- ok(
- ($a.defined and $b.defined and $a.keys eqv $b.keys and
- [and] map {
- my $cmp = $b{$_};
- if $cmp ~~ Callable {
- $cmp.($a{$_})
- }
- else {
- $a{$_}.abspath eq $cmp.abspath
- }
- }, $a.keys),
- $msg,
- );
-}
+use lib 't/lib';
+use Test::WebCoso;
my $testdir = tempdir.IO;
my $srcdir = $testdir.child('src');