tracks/perl6/exercises/binary/binary.t in trackler-2.0.3.2 vs tracks/perl6/exercises/binary/binary.t in trackler-2.0.3.3

- old
+ new

@@ -1,17 +1,13 @@ #!/usr/bin/env perl6 use v6; use Test; use lib IO::Path.new($?FILE).parent.path; -plan 10; - BEGIN { - my $module = %*ENV{'EXERCISM'} ?? 'Example' !! 'Binary'; - EVAL("use $module") -}; - -pass 'Load module'; + plan 10; + eval-lives-ok %*ENV<EXERCISM>.so ?? 'use Example' !! 'use Binary', 'Module loaded'; +} ok Binary.can('to_decimal'), 'Class Binary has to_decimal method'; my %results = ( 1 => 1,