Skip to content

Commit e1b7553

Browse files
committed
Fixes two breaking space instances
1 parent 09c4084 commit e1b7553

File tree

4 files changed

+10
-14
lines changed

4 files changed

+10
-14
lines changed

README.es.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Algunas maneras en las que puedes ayudarnos:
114114

115115
2. El tratamiento que las implementaciones hacen de Pod 6 es todavía un poco inconsistente; esto evita impactos potenciales en el tiempo de ejecución.
116116

117-
3. Un repo separado en la cuenta de Perl 6 de GitHub invita a más contribuidores y editores a participar.
117+
3. Un repo separado en la cuenta de Perl 6 de GitHub invita a más contribuidores y editores a participar.
118118

119119
**P:** ¿Debería incluir los métodos de las superclases o de los roles?<br>
120120
**A:** No. La versión en HTML ya los incluye, y el script `p6doc` también.

doc/Programs/01-debugging.pod6

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
55
=SUBTITLE Debug Perl 6 programs
66
7-
There are at least two useful debuggers available for Rakudo:
7+
There are at least two useful debuggers available for Rakudo, the Perl
8+
6 compiler:
89
910
=item L<Debugger::UI::CommandLine|https://modules.perl6.org/repo/Debugger::UI::CommandLine>
1011

doc/Type/Systemic.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ through the L«C<$*KERNEL>|/language/variables#Dynamic_variables» and other dyn
1515
1616
Instance method returning the name and version of the object.
1717
18-
say $*PERL.gist; # OUTPUT: «Perl 6 (6.c)␤»
18+
say $*PERL.gist; # OUTPUT: «Perl 6 (6.c)␤»
1919
2020
C<$*PERL> is an object of the L<Perl> type, which mixes in this role and thus implements this method.
2121

xt/perl-nbsp.t

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,12 @@ for @files.sort -> $file {
1919
my $ok = True;
2020
my $row = 0;
2121
my @bad;
22-
for $file.IO.slurp.lines -> $line {
23-
$row++;
24-
if $line ~~ / ^ \s+ / {
25-
next;
26-
}
27-
for $line ~~ m:g/ <!after 'implementing '> 'Perl' $<space>=(\s+) \d / -> $match {
28-
my $spaces = ~$match<space>;
29-
if $spaces.chars != 1 || $spaces.uniname ne "NO-BREAK SPACE" {
30-
$ok = False;
31-
@bad.push: $row;
32-
}
22+
my $content = $file.IO.slurp.lines.join("");
23+
for $content ~~ m:g/ <!after 'implementing '> 'Perl' $<space>=(\s+) \d / -> $match {
24+
my $spaces = ~$match<space>;
25+
if $spaces.chars != 1 || $spaces.uniname ne "NO-BREAK SPACE" {
26+
$ok = False;
27+
@bad.push: $row;
3328
}
3429
}
3530
my $error = $file;

0 commit comments

Comments
 (0)