import rt 3.8.10
[freeside.git] / rt / t / web / attachment_encoding.t
index 6796c99..9ba5677 100644 (file)
@@ -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;