Skip to content

Commit ee97173

Browse files
committed
Fix typegraph.t test
1 parent 4834c08 commit ee97173

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

t/typegraph.t

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
use v6;
22
use Test;
33
use lib 'lib';
4-
use Perl6::TypeGraph;
4+
use DocSite::TypeGraph;
55

6-
plan 8;
7-
8-
my $t = Perl6::TypeGraph.new-from-file('type-graph.txt');
6+
my $t = DocSite::TypeGraph.new-from-file('type-graph.txt');
97
ok $t, 'Could parse the file';
108
ok $t.types<Array>, 'has type Array';
119
ok $t.types<Array>.super.any eq 'List',
@@ -17,4 +15,6 @@ is $t.types<Match>.mro, 'Match Capture Cool Any Mu', 'Match mro';
1715
is $t.types<Exception>.super.any, 'Any', 'Any as default parent works';
1816
is $t.types<Any>.super, 'Mu', 'default-Any did not add a parent to Any';
1917

18+
done-testing;
19+
2020
# vim: expandtab shiftwidth=4 ft=perl6

0 commit comments

Comments
 (0)