diff options
author | Jesse Luehrs <doy@tozt.net> | 2011-09-05 20:04:48 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2011-09-05 20:04:48 -0500 |
commit | fb571e92db09b6d9f6b172a3c8788a1a031cd0c6 (patch) | |
tree | e12d46aa44cd2ea6818fcb5a482a1702b51bb1dc /t/paamayim_nekdotayim.t | |
parent | 12b5662ca1ca213389b3d4af99f8616b2129f0cc (diff) | |
download | package-stash-fb571e92db09b6d9f6b172a3c8788a1a031cd0c6.tar.gz package-stash-fb571e92db09b6d9f6b172a3c8788a1a031cd0c6.zip |
one more test
Diffstat (limited to 't/paamayim_nekdotayim.t')
-rw-r--r-- | t/paamayim_nekdotayim.t | 5 |
1 files changed, 5 insertions, 0 deletions
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; |