Skip to content

Commit

Permalink
Fix bad grammar in Buf.push test descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
hoelzro committed May 30, 2015
1 parent 011af40 commit 4806305
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions S03-operators/buf.t
Expand Up @@ -119,19 +119,19 @@ ok Buf.new.subbuf(0, 1) eqv Buf.new(), "subbuf on an empty buffer";
$a.push(@items);

is $a.elems, 6, "Buf .elems correct after pushing a list";
is $a[4], 5, "Buf penultimate element correct after push a list";
is $a[5], 6, "Buf last element correct after push a list";
is $a[4], 5, "Buf penultimate element correct after pushing a list";
is $a[5], 6, "Buf last element correct after pushing a list";

$a.push(7, 8);

is $a.elems, 8, "Buf .elems correct after pushing varargs";
is $a[6], 7, "Buf penultimate element correct after push varargs";
is $a[7], 8, "Buf last element correct after push varargs";
is $a[6], 7, "Buf penultimate element correct after pushing varargs";
is $a[7], 8, "Buf last element correct after pushing varargs";

$a.push(9 xx 1);

is $a.elems, 9, "Buf .elems correct after pushing Parcel";
is $a[8], 9, "Buf last element correct after push Parcel";
is $a[8], 9, "Buf last element correct after pushing Parcel";
}

# RT #123928
Expand Down

0 comments on commit 4806305

Please sign in to comment.