From cb7db7093e62164313d8e0a79d54c36ada756f1d Mon Sep 17 00:00:00 2001 From: "Craig A. Berry" Date: Thu, 19 Sep 2013 16:17:00 -0500 Subject: [PATCH] Add newline to new switchd test for VMS. On VMS, you're going to get a newline at EOF willy nilly, which was making the expected output fail to match the actual output. The simplest solution is just to put an explicit newline on the print statement, which yields the same result everywhere. Follow-up to 261cbad16f5ed8. --- t/run/switchd.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/run/switchd.t b/t/run/switchd.t index e71de68..e66a17f 100644 --- a/t/run/switchd.t +++ b/t/run/switchd.t @@ -205,9 +205,9 @@ like( is( runperl( switches => [ '-Ilib', '-d:switchd_goto' ], - prog => 'sub baz { print qq|hello;| } sub foo { goto &baz } foo()', + prog => 'sub baz { print qq|hello;\n| } sub foo { goto &baz } foo()', stderr => 1, ), - "goto;hello;", + "goto;hello;\n", "DB::goto" ); -- 2.7.4