00test_harness_check.t

来自「source of perl for linux application,」· T 代码 · 共 27 行

T
27
字号
#!/usr/bin/perl -w# A test to make sure the new Test::Harness was installed properly.use Test::More;plan tests => 1;my $TH_Version = 2.03;require Test::Harness;unless( cmp_ok( eval $Test::Harness::VERSION, '>=', $TH_Version, "T::H version" ) ) {    diag <<INSTRUCTIONS;Test::Simple/More/Builder has features which depend on a version ofTest::Harness greater than $TH_Version.  You have $Test::Harness::VERSION.Please install a new version from CPAN.If you've already tried to upgrade Test::Harness and still get thismessage, the new version may be "shadowed" by the old.  Check theoutput of Test::Harness's "make install" for "## Differing version"messages.  You can delete the old version by running "make install UNINST=1".INSTRUCTIONS}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?