Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
more fudgign for niecza
  • Loading branch information
moritz committed Mar 4, 2011
1 parent 324876d commit c95cb9a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions S02-builtin_data_types/catch_type_cast_mismatch.t
Expand Up @@ -16,6 +16,7 @@ my $ref = { val => 42 };
#?rakudo todo 'Hash.isa(Hash)'
isa_ok($ref, Hash);
#?rakudo todo "die or fail?"
#?niecza skip "questionable test"
dies_ok { $ref[0] }, 'Hash !~~ Positional';

{
Expand Down
3 changes: 2 additions & 1 deletion S13-type-casting/methods.t
Expand Up @@ -12,7 +12,8 @@ class CoercionTest {

my $o = CoercionTest.new();

#?rakudo skip 'Numeric, Stringy'
#?rakudo skip 'Stringy'
#?niecza skip 'Stringy'
is ~$o, 'foo', 'method Stringy takes care of correct stringification';
ok +$o == 1.2, 'method Numeric takes care of correct numification';

Expand Down
3 changes: 3 additions & 0 deletions S32-array/push.t
Expand Up @@ -34,6 +34,7 @@ plan 51;
is(@push[3], 4, 'we found the right element');

#?rakudo skip 'named args'
#?niecza skip 'named args'
{
push(:array(@push), 5);
is(+@push, 5, 'we have 5 elements in the array (with named arg)');
Expand Down Expand Up @@ -113,6 +114,7 @@ plan 51;
}

# testing some edge cases
#?niecza skip 'series'
{
my @push = 0 ... 5;
is(+@push, 6, 'starting length is 6');
Expand Down Expand Up @@ -140,6 +142,7 @@ plan 51;
# }

# nested arrayref
#?niecza skip 'series'
{
my @push = ();
push @push, [ 21 ... 25 ];
Expand Down
2 changes: 2 additions & 0 deletions S32-array/unshift.t
Expand Up @@ -40,6 +40,7 @@ plan 61;
is(@unshift[2], 2, 'we found the right element');
is(@unshift[3], 1, 'we found the right element');

#?niecza skip 'passing positionals by name'
{
unshift(:array(@unshift), 5);
is(+@unshift, 5, 'we have 4 element in the array');
Expand Down Expand Up @@ -122,6 +123,7 @@ plan 61;
}

# testing some edge cases
#?niecza skip 'series'
{
my @unshift = 0 ... 5;
is(+@unshift, 6, 'starting length is 6');
Expand Down

0 comments on commit c95cb9a

Please sign in to comment.