tracks/perl5/exercises/phone-number/phone-number.t in trackler-2.2.1.105 vs tracks/perl5/exercises/phone-number/phone-number.t in trackler-2.2.1.106
- old
+ new
@@ -6,13 +6,12 @@
use lib $dir = $FindBin::Bin;
use JSON::PP;
my $exercise = 'PhoneNumber';
my $test_version = 2;
-my $module = $ENV{EXERCISM} ? 'Example' : $exercise;
use Test::More tests => 15;
-use_ok $module or BAIL_OUT;
+use_ok $exercise or BAIL_OUT;
my $exercise_version = $exercise->VERSION // 0;
if ($exercise_version != $test_version) {
warn "\nExercise version mismatch. Further tests may fail!"
. "\n$exercise is v$exercise_version. "