Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
remove Mu tests for ===
  • Loading branch information
moritz committed Oct 2, 2011
1 parent 5721b37 commit da526e3
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions S03-operators/value_equivalence.t
Expand Up @@ -14,7 +14,7 @@ false, and C<[1,2] eqv [1,2]> returns true.

# L<S03/"Chaining binary precedence" /Value identity>

plan 77;
plan 74;

# === on values
{
Expand All @@ -29,10 +29,6 @@ plan 77;
isa_ok ("abc" === "abc"), Bool, "=== on values (abc)";
ok !(1 === 1.0), "=== on values (1 === 1.0)";
ok !(1 === "1"), '=== on values (1 === "1")';
#?niecza skip 'Nominal type check failed in binding $l in CORE infix:<===>'
ok (Mu === Mu), '=== on values (Mu === Mu)';
#?niecza skip 'Nominal type check failed in binding $l in CORE infix:<===>'
isa_ok (Mu === Mu), Bool, '=== on values (Mu === Mu)';
}

# more value tests
Expand Down Expand Up @@ -140,7 +136,6 @@ plan 77;
{
ok !(\3 === \4), "=== on anonymous scalar references (1)";
ok !(\3 === \3), "=== on anonymous scalar references (2)";
ok !(\Mu === \Mu), "=== on anonymous scalar references (3)";
isa_ok (\3 === \4), Bool, "=== on anonymous scalar references (4)";
}

Expand Down Expand Up @@ -183,6 +178,7 @@ plan 77;
ok (1 !=== "1"), '!=== on values (1 !=== "1")';
}

#?rakudo todo 'autothreading of ==='
ok 1|2 === 1, '=== does autothread (1)';
isa_ok 1|2 === 1, Junction, '=== does autothread (2)';

Expand Down

0 comments on commit da526e3

Please sign in to comment.