✏️ 正在编辑: no_diag.t
路径:
/usr/share/doc/perl-Test-Simple/t/Legacy/Builder/no_diag.t
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
#!/usr/bin/perl -w use Test::More 'no_diag'; plan 'skip_all' => "This test cannot be run with the current formatter" unless Test::Builder->new->{Stack}->top->format->isa('Test::Builder::Formatter'); pass('foo'); diag('This should not be displayed'); is(Test::More->builder->no_diag, 1); done_testing;
💾 保存文件
← 返回文件管理器