Really fix t/op/lex.t
authorFather Chrysostomos <sprout@cpan.org>
Wed, 12 Dec 2012 00:18:40 +0000 (16:18 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 12 Dec 2012 00:18:40 +0000 (16:18 -0800)
I *thought* I had run the tests after making commit 6d70c68615.

t/op/lex.t

index 7601b95..157ac24 100644 (file)
@@ -64,7 +64,8 @@ fresh_perl_is(
 fresh_perl_is(
   'BEGIN{ ++$_ for @INC{"charnames.pm","_charnames.pm"};
           $^H{charnames} = \"foo" } "\N{a}"',
-  'Constant(\N{a}) unknown at - line 1, within string' . "\n"
+  "Not a CODE reference at - line 2.\n"
+ ."Propagated at - line 2, within string\n"
  ."Execution of - aborted due to compilation errors.\n",
    { stderr => 1 },
   'no crash when charnames cannot load and %^H holds string reference'