This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix a syntax error in test
[perl5.git] / lib / Text / Balanced / t / 00-load.t
index 79bc6f0..a8268a7 100755 (executable)
@@ -2,6 +2,6 @@ use Test::More tests => 1;
 
 BEGIN {
 use_ok( 'Text::Balanced' );
+diag( "Testing Text::Balanced $Text::Balanced::VERSION" )
+    unless $ENV{PERL_CORE};
 }
-
-diag( "Testing Text::Balanced $Text::Balanced::VERSION" );