Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use == for numeric comparison in 05-var-array.t
  • Loading branch information
moritz committed Feb 20, 2009
1 parent 6c7a7a9 commit 2e438ab
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions t/00-parrot/05-var-array.t
Expand Up @@ -11,17 +11,17 @@ my @a = (1, 2, 3);
say 'ok ' ~ @a[0];
say 'ok ' ~ @a[1];
say 'ok ' ~ @a[*-1];
say 'ok 4' if 3 eq @a.elems;
say 'ok 4' if 3 == @a.elems;

my @b = <5 6>;

say 'ok ' ~ @b[0];
say 'ok ' ~ @b[*-1];
say 'ok 7' if 2 eq @b.elems;
say 'ok 7' if 2 == @b.elems;

my @c = <ok 8>; say ~@c;

say 'ok 9' if 2 eq (1, 2).elems;
say 'ok 10' if 3 eq <a b c>.elems;
say 'ok 11' if 3 eq ['a', <2 three>].elems;
say 'ok 9' if 2 == (1, 2).elems;
say 'ok 10' if 3 == <a b c>.elems;
say 'ok 11' if 3 == ['a', <2 three>].elems;

0 comments on commit 2e438ab

Please sign in to comment.