summaryrefslogtreecommitdiffstats
path: root/t/10-synopsis.t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-08-05 13:08:04 -0500
committerJesse Luehrs <doy@tozt.net>2011-08-05 13:08:04 -0500
commitadda4f43e39cff45cf4d443dd93216644fca3afa (patch)
treee05964d374b3a5a4e363f595f443eb46a058fe44 /t/10-synopsis.t
parentc3986e8ee5e47ef7e10896d991b53a3836591ef6 (diff)
downloadpackage-stash-adda4f43e39cff45cf4d443dd93216644fca3afa.tar.gz
package-stash-adda4f43e39cff45cf4d443dd93216644fca3afa.zip
remove test numbers
Diffstat (limited to 't/10-synopsis.t')
-rw-r--r--t/10-synopsis.t19
1 files changed, 0 insertions, 19 deletions
diff --git a/t/10-synopsis.t b/t/10-synopsis.t
deleted file mode 100644
index 9f59948..0000000
--- a/t/10-synopsis.t
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/env perl
-use strict;
-use warnings;
-use lib 't/lib';
-use Test::More;
-
-use Package::Stash;
-
-my $stash = Package::Stash->new('Foo');
-$stash->add_symbol('%foo', {bar => 1});
-{
- no warnings 'once';
- is($Foo::foo{bar}, 1, "set in the stash properly");
-}
-ok(!$stash->has_symbol('$foo'), "doesn't have anything in scalar slot");
-my $namespace = $stash->namespace;
-is_deeply(*{ $namespace->{foo} }{HASH}, {bar => 1}, "namespace works properly");
-
-done_testing;