From: Jesse Luehrs Date: Tue, 6 Sep 2011 01:04:48 +0000 (-0500) Subject: one more test X-Git-Tag: 0.32~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fb571e92db09b6d9f6b172a3c8788a1a031cd0c6;p=gitmo%2FPackage-Stash.git one more test --- diff --git a/t/paamayim_nekdotayim.t b/t/paamayim_nekdotayim.t index 2096cb4..d17bdaf 100644 --- a/t/paamayim_nekdotayim.t +++ b/t/paamayim_nekdotayim.t @@ -19,5 +19,10 @@ like( qr/^Variable names may not contain ::/, "can't add symbol with ::" ); +like( + exception { $stash->get_or_add_symbol('@bar::baz') }, + qr/^Variable names may not contain ::/, + "can't add symbol with ::" +); done_testing;