(was Re: Why t/lib/extutils.t is failing ...
[p5sagit/p5-mst-13.2.git] / t / lib / mimeb64.t
index b122552..7a61fe9 100644 (file)
@@ -5,12 +5,12 @@ BEGIN {
 
 use MIME::Base64;
 
-print "1..282\n";
+print "1..283\n";
 
 print "# Testing MIME::Base64-", $MIME::Base64::VERSION, "\n";
 
 BEGIN {
- if (ord('A') != 193) {
+ if (ord('A') == 41) {
   *ASCII = sub { return $_[0] };
  }
  else {
@@ -365,6 +365,7 @@ sub decodeTest
         ['YWFh====' =>  ASCII('aaa')],
         ['YQ'       =>  ASCII('a')],
         ['Y'        => ''],
+        ['x=='      => ''],
         [''         => ''],
         [undef()    => ''],
     );