summaryrefslogtreecommitdiff
path: root/rt/t/web/attachment_encoding.t
diff options
context:
space:
mode:
Diffstat (limited to 'rt/t/web/attachment_encoding.t')
-rw-r--r--rt/t/web/attachment_encoding.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/rt/t/web/attachment_encoding.t b/rt/t/web/attachment_encoding.t
index 6796c9969..9ba567746 100644
--- a/rt/t/web/attachment_encoding.t
+++ b/rt/t/web/attachment_encoding.t
@@ -48,7 +48,7 @@ diag 'test with attachemnts' if $ENV{TEST_VERBOSE};
my $file =
File::Spec->catfile( File::Spec->tmpdir, 'rt_attachemnt_abcde.txt' );
- open my $fh, '>', $file or die $!;
+ open( my $fh, '>', $file ) or die $!;
binmode $fh, ':utf8';
print $fh '附件';
close $fh;