Test2::Event::Encoding - 設定輸出串流的編碼
當測試檔案想要指定用於格式化其輸出的編碼時,會產生編碼事件。此事件旨在由格式化器類別產生,並用於詮釋測試名稱、訊息內容等。
use Test2::API qw/context/;
use Test2::Event::Encoding;
my $ctx = context();
my $event = $ctx->send_event('Encoding', encoding => 'UTF-8');
繼承自 Test2::Event。也定義
正在指定的編碼。
Test2 的原始碼存放庫位於 http://github.com/Test-More/test-more/。
版權所有 2020 Chad Granum <exodist@cpan.org>。
此程式為自由軟體;您可以在與 Perl 本身相同的條款下重新散布或修改它。
請參閱 http://dev.perl.org/licenses/