Skip to content

Commit 5cfb61a

Browse files
committed
pass trailing whitespace test
1 parent 4ea494a commit 5cfb61a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

doc/Language/list.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ or C<;> in brackets after the name of the array container. The values of such
389389
an C<Arrays> will default to C<Any>. The shape can be accessed at runtime via
390390
the C<shape> method.
391391
392-
my @a[2,2];
392+
my @a[2,2];
393393
dd @a;
394394
# OUTPUT«Array.new(:shape(2, 2), [Any, Any], [Any, Any])␤»
395395
say @a.shape;

doc/Language/typesystem.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ methods from foreign objects.
3131
};
3232
3333
say A.new.WHAT; # OUTPUT«(A)␤»
34-
say A.new."WHAT"() # OUTPUT«ain't gonna happen␤»
34+
say A.new."WHAT"() # OUTPUT«ain't gonna happen␤»
3535
3636
=head4 Setting Attributes with Namesake Variables and Methods
3737

t/trailing_whitespace.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ for qx<git ls-files>.lines -> $file {
1414
push @files, $file;
1515
}
1616

17-
plan +@files;
17+
plan +@files;
1818

1919
for @files -> $file {
2020
my $ok = True;
2121
for $file.IO.lines -> $line {
2222
if $line ~~ / \s $/ {
23-
$ok = False; last;
23+
$ok = False; last;
2424
}
2525
}
2626
ok $ok, "no trailing whitespace in $file";

0 commit comments

Comments
 (0)