summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-09-05 20:04:48 -0500
committerJesse Luehrs <doy@tozt.net>2011-09-05 20:04:48 -0500
commitfb571e92db09b6d9f6b172a3c8788a1a031cd0c6 (patch)
treee12d46aa44cd2ea6818fcb5a482a1702b51bb1dc /t
parent12b5662ca1ca213389b3d4af99f8616b2129f0cc (diff)
downloadpackage-stash-fb571e92db09b6d9f6b172a3c8788a1a031cd0c6.tar.gz
package-stash-fb571e92db09b6d9f6b172a3c8788a1a031cd0c6.zip
one more test
Diffstat (limited to 't')
-rw-r--r--t/paamayim_nekdotayim.t5
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;