From fb571e92db09b6d9f6b172a3c8788a1a031cd0c6 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 5 Sep 2011 20:04:48 -0500 Subject: one more test --- t/paamayim_nekdotayim.t | 5 +++++ 1 file changed, 5 insertions(+) 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; -- cgit v1.2.3-54-g00ecf