diff --git a/t/Plack-Handler/output_encoding.t b/t/Plack-Handler/output_encoding.t index 72270fae5..fc4df5153 100644 --- a/t/Plack-Handler/output_encoding.t +++ b/t/Plack-Handler/output_encoding.t @@ -29,7 +29,7 @@ sub run { sub test_handler { my ( $handler, $mangler, $mangle_file ) = @_; - system( "$^X $mangler Plack::Handler::$handler > $mangle_file" ); + system( "\"$^X\" $mangler Plack::Handler::$handler > $mangle_file" ); like read_file( $mangle_file ), qr/test\ntest/, '\n is not converted'; unlink $mangle_file;