101truncate-deflate.t

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

T
38
字号
BEGIN {    if ($ENV{PERL_CORE}) {	chdir 't' if -d 't';	@INC = ("../lib", "lib/compress");    }}use lib qw(t t/compress);use strict;use warnings;use Test::More ;BEGIN {    # use Test::NoWarnings, if available    my $extra = 0 ;    $extra = 1        if eval { require Test::NoWarnings ;  import Test::NoWarnings; 1 };    plan tests => 734 + $extra;};#use Test::More skip_all => "not implemented yet";use IO::Compress::Deflate   qw($DeflateError) ;use IO::Uncompress::Inflate qw($InflateError) ;sub identify{    'IO::Compress::Deflate';}require "truncate.pl" ;run();

⌨️ 快捷键说明

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