Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions t/run/todo.t
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,20 @@ my $switches = "";

our $TODO;

TODO: {
local $::TODO = 'GH 15419';
my $results = fresh_perl(<<~'EOF', { stderr => 1 } );
use strict;
use warnings;
binmode *STDOUT, ":encoding(utf8)";
open(my $copy, '>&', STDOUT);
print $copy "\x{11e}\n";
EOF
is($?, 0, "No assertion failure");
is $results, "\x{11e}", "print returned the expected output";
unlike $results, qr/Wide character in print/, "print did not warn about wide characters";
}

TODO: {
local $::TODO = "GH 16008";
my $results = fresh_perl(<<~'EOF', {} );
Expand Down
Loading