目錄

名稱

Test2::Event::Pass - 簡單通過斷言的事件

說明

這是通過斷言的最佳表示。

語法

use Test2::API qw/context/;

sub pass {
    my ($name) = @_;
    my $ctx = context();
    $ctx->pass($name);
    $ctx->release;
}

來源

Test2 的原始程式碼儲存庫可以在 http://github.com/Test-More/test-more/ 中找到。

維護者

Chad Granum <exodist@cpan.org>

作者

Chad Granum <exodist@cpan.org>

版權

版權所有 2020 Chad Granum <exodist@cpan.org>。

這個程式是自由軟體;你可以根據 Perl 本身的條款重新散布或修改它。

請參閱 http://dev.perl.org/licenses/