Test for not invoking the linestr callback for barewords quoted using the fat comma.
[p5sagit/Devel-Declare.git] / t / quote.t
index 4104515..921cc94 100644 (file)
--- a/t/quote.t
+++ b/t/quote.t
@@ -1,6 +1,6 @@
 use strict;
 use warnings;
-use Test::More tests => 14;
+use Test::More tests => 15;
 
 use Devel::Declare 'method' => sub {};
 use File::Spec;
@@ -16,6 +16,7 @@ QUOTE: {
     test_eval '<<method;
 tum ti tum
 method';
+    test_eval 'my $x = { method => 42 }';
 }
 
 SYSTEM: {