summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-12-10 01:51:20 -0600
committerJesse Luehrs <doy@tozt.net>2011-12-10 01:51:20 -0600
commite0cd2c900de2f28af4373f1f596134af445adb0f (patch)
treecfe8af49b79e74105f702b9fa72552b4a0a3fca8
parentfb4f6d8a7deae9d951ac16c5882ff2146ab5f6f2 (diff)
downloadpackage-stash-xs-e0cd2c900de2f28af4373f1f596134af445adb0f.tar.gz
package-stash-xs-e0cd2c900de2f28af4373f1f596134af445adb0f.zip
don't know how to do these in xs either yet
-rw-r--r--t/bare-anon-basic.t4
-rw-r--r--t/bare-anon.t8
-rwxr-xr-xt/edge-cases.t4
3 files changed, 4 insertions, 12 deletions
diff --git a/t/bare-anon-basic.t b/t/bare-anon-basic.t
index 9cea31e..0c984d3 100644
--- a/t/bare-anon-basic.t
+++ b/t/bare-anon-basic.t
@@ -210,9 +210,7 @@ ok(defined(*{ $Foo->{foo} }{ARRAY}), '... the @foo slot has NOT been removed');
}
{
- local $TODO = ($Package::Stash::IMPLEMENTATION eq 'PP')
- ? "can't inflate weird stash entries"
- : undef;
+ local $TODO = "can't inflate weird stash entries";
is(
exception {
diff --git a/t/bare-anon.t b/t/bare-anon.t
index 34e234c..f53a16c 100644
--- a/t/bare-anon.t
+++ b/t/bare-anon.t
@@ -25,9 +25,7 @@ my $stash = Package::Stash->new($anon);
}
{
- local $TODO = ($Package::Stash::IMPLEMENTATION eq 'PP')
- ? "can't inflate weird stash entries"
- : undef;
+ local $TODO = "can't inflate weird stash entries";
$anon->{bar} = \123;
is(
@@ -43,9 +41,7 @@ my $stash = Package::Stash->new($anon);
}
{
- local $TODO = ($Package::Stash::IMPLEMENTATION eq 'PP')
- ? "can't inflate weird stash entries"
- : undef;
+ local $TODO = "can't inflate weird stash entries";
$anon->{baz} = -1;
is(
diff --git a/t/edge-cases.t b/t/edge-cases.t
index 262c13b..49f56ed 100755
--- a/t/edge-cases.t
+++ b/t/edge-cases.t
@@ -56,9 +56,7 @@ is(ref($stash->get_or_add_symbol('$glob')), 'SCALAR', "got an empty scalar");
SKIP: {
skip "PP doesn't support anon stashes before 5.14", 4
if $] < 5.014 && $Package::Stash::IMPLEMENTATION eq 'PP';
- local $TODO = ($Package::Stash::IMPLEMENTATION eq 'PP')
- ? "don't know how to properly inflate a stash entry"
- : undef;
+ local $TODO = "don't know how to properly inflate a stash entry";
my $anon = {}; # not using Package::Anon
$anon->{foo} = -1; # stub