tracks/perl6/exercises/trinary/trinary.t in trackler-2.2.1.95 vs tracks/perl6/exercises/trinary/trinary.t in trackler-2.2.1.96
- old
+ new
@@ -1,12 +1,9 @@
#!/usr/bin/env perl6
use Test;
-
-use lib ( my $dir = IO::Path.new($?FILE).parent ).path;
-
-my $module = %*ENV<EXERCISM> ?? 'Example' !! 'Trinary';
-require ::($module) <&to-decimal>;
+use lib $?FILE.IO.dirname;
+use Trinary;
my @cases = (
{
input => 1,
expected => 1,