title: Test::More: Bad plan due to a escape sequence
body: <p>When I run the following test for this module the test fails. </p>
  
  <p>When I add a newline to the escape sequence <a href="https://metacpan.org/module/Win32%3a%3aConsole%3a%3aANSI#Escape-sequences-for-Select-Character-Set" rel="nofollow">"\e(U"</a> the test passes.</p>
  
  <p>Why would this escape sequence cause to fail the test this way?</p>
  
  <hr>
  
  <pre><code>package My_Module;
  
  use Win32::Console::ANSI;
  
  print "\e(U"; # dissables the so-called ANSI to OEM conversion
  
  # print "\e(U\n" # written this way, the test passes.
  
  1;
  </code></pre>
  
  <hr>
  
  <pre><code>use Test::More tests =&gt; 1; 
  
  BEGIN { use_ok( 'My_Module' ) || print "Bail out!\n" }
  
  diag( "Testing My_Module, Perl $], $^X" );
  </code></pre>
  
  <p>Result:</p>
  
  <pre><code>C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
  t/00-load.t .. # Testing My_Module, Perl 5.018001, C:\strawberry\perl\bin\perl.exe
  t/00-load.t .. Failed 1/1 subtests
  
  Test Summary Report
  -------------------
  t/00-load.t (Wstat: 0 Tests: 0 Failed: 0)
    Parse errors: Bad plan.  You planned 1 tests but ran 0.
  Files=1, Tests=0,  1 wallclock secs ( 0.03 usr +  0.05 sys =  0.08 CPU)
  Result: FAIL
  Failed 1/1 test programs. 0/0 subtests failed.
  dmake:  Error code 255, while making 'test_dynamic'
  </code></pre>