✏️ 正在编辑: 10-stuff.t
路径:
/usr/share/doc/perl-Test-Harness/examples/t/10-stuff.t
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
#!/usr/bin/perl -wT use strict; use warnings; use Test::More qw/no_plan/; ok 1, 'this test passes'; is_deeply [2], [3], 'this is_deeply test fails'; SKIP: { skip 'testing skip', 2 if 1; ok 1; ok 1; } TODO: { local $TODO = 'this is a TODO test'; ok 0, 'This should succeed'; ok 1, 'This should fail'; }
💾 保存文件
← 返回文件管理器