]> git.vpit.fr Git - perl/modules/Test-Leaner.git/blobdiff - t/01-import.t
Fall back to Test::More when PERL_TEST_LEANER_USES_TEST_MORE is set
[perl/modules/Test-Leaner.git] / t / 01-import.t
index d612ed4ff607030258275327f90d2615b35186dc..9fe04df4ee1a6b15fba5a885fb87d180f8f5e426 100644 (file)
@@ -5,7 +5,10 @@ use warnings;
 
 use Test::More ();
 
-BEGIN { *tm_is = \&Test::More::is }
+BEGIN {
+ delete $ENV{PERL_TEST_LEANER_USES_TEST_MORE};
+ *tm_is = \&Test::More::is;
+}
 
 Test::More::plan(tests => 2 * 15);
 
@@ -13,7 +16,6 @@ require Test::Leaner;
 
 my @syms = qw<
  plan
- skip_all
  skip
  done_testing
  pass
@@ -21,9 +23,10 @@ my @syms = qw<
  ok
  is
  isnt
- cmp_ok
  like
  unlike
+ cmp_ok
+ is_deeply
  diag
  note
  BAIL_OUT