From 2a0f8a5afb6916f99db121a36a45457a2f7ebbe4 Mon Sep 17 00:00:00 2001 From: Elizabeth Mattijsen Date: Sun, 11 Aug 2013 15:19:51 +0300 Subject: [PATCH] Unfudge now passing tests --- S02-names/is_default.t | 8 -------- 1 file changed, 8 deletions(-) diff --git a/S02-names/is_default.t b/S02-names/is_default.t index fe46699605..c949891407 100644 --- a/S02-names/is_default.t +++ b/S02-names/is_default.t @@ -58,12 +58,10 @@ plan 72; # not specifically typed { my @a is default(42); - #?rakudo todo '@a is default does not work yet' is @a[0], 42, "uninitialized untyped array element should have its default"; #?rakudo.jvm skip "oh no, .VAR does not work on JVM" is @a.VAR.default, 42, 'is the default set correctly for @a'; lives_ok { @a[0]++ }, "should be able to update untyped array element"; - #?rakudo todo '@a is default does not work yet' is @a[0], 43, "update of untyped array element to 43 was successful"; lives_ok { @a[0] = Nil }, "assign Nil to untyped array element"; #?rakudo todo "is default not functioning yet" @@ -85,12 +83,10 @@ plan 72; # typed { my Int @a is default(42); - #?rakudo todo 'Int @a is default does not work yet' is @a[0], 42, "uninitialized typed array element should have its default"; #?rakudo.jvm skip "oh no, .VAR does not work on JVM" is @a.VAR.default, 42, 'is the default set correctly for Int @a'; lives_ok { @a[0]++ }, "should be able to update typed array element"; - #?rakudo todo 'Int @a is default does not work yet' is @a[0], 43, "update of typed array element to 43 was successful"; lives_ok { @a[0] = Nil }, "assign Nil to typed array element"; #?rakudo skip "is default not functioning yet" @@ -112,12 +108,10 @@ plan 72; # not specifically typed { my %a is default(42); - #?rakudo todo '%a is default does not work yet' is %a, 42, "uninitialized untyped hash element should have its default"; #?rakudo.jvm skip "oh no, .VAR does not work on JVM" is %a.VAR.default, 42, 'is the default set correctly for %a'; lives_ok { %a++ }, "should be able to update untyped hash element"; - #?rakudo todo '%a is default does not work yet' is %a, 43, "update of untyped hash element to 43 was successful"; lives_ok { %a = Nil }, "assign Nil to untyped hash element"; #?rakudo todo "is default not functioning yet" @@ -139,12 +133,10 @@ plan 72; # typed { my Int %a is default(42); - #?rakudo todo 'Int %a is default does not work yet' is %a, 42, "uninitialized typed hash element should have its default"; #?rakudo.jvm skip "oh no, .VAR does not work on JVM" is %a.VAR.default, 42, 'is the default set correctly for Int %a'; lives_ok { %a++ }, "should be able to update typed hash element"; - #?rakudo todo 'Int %a is default does not work yet' is %a, 43, "update of hash array element to 43 was successful"; lives_ok { %a = Nil }, "assign Nil to hash array element"; #?rakudo skip "is default not functioning yet"