Skip to content

Commit fe21e89

Browse files
committed
test oneliner with multi-line
1 parent 3bc0c2a commit fe21e89

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

t/oneliner.t

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ chdir 't';
1111

1212
use Config;
1313
use MakeMaker::Test::Utils;
14-
use Test::More tests => 16;
14+
use Test::More tests => 17;
1515
use File::Spec;
1616

1717
my $TB = Test::More->builder;
@@ -59,6 +59,7 @@ try_oneliner(q{print q[ "&<>^|@() !"&<>^|@() !" ]}, [], q{ "&<>^|@() !"&<>^|@()
5959
try_oneliner(q{print q[ "C:\TEST A\" ]}, [], q{ "C:\TEST A\" }, 'example 8.4' );
6060
try_oneliner(q{print q[ "C:\TEST %&^ A\" ]}, [], q{ "C:\TEST %&^ A\" }, 'example 8.5' );
6161

62-
# XXX gotta rethink the newline test. The Makefile does newline
63-
# escaping, then the shell.
64-
62+
try_oneliner(<<CODE, [], "foobar", 'newlines' );
63+
print "foo";
64+
print "bar";
65+
CODE

0 commit comments

Comments
 (0)