Skip to content

Commit

Permalink
Standardized "whitespaces" to "whitespace" or "whitespace characters".
Browse files Browse the repository at this point in the history
  • Loading branch information
Util committed Jan 31, 2015
1 parent 9ac0cab commit 4e43db6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions S02-literals/listquote-whitespace.t
Expand Up @@ -60,10 +60,10 @@ for @nonseparators -> $sep {
};

is < foo
>, 'foo', 'various combinations of whitespaces are stripped';
>, 'foo', 'various combinations of whitespace are stripped';

# RT #73772
isa_ok < >, Parcel, '< > (only whitespaces) is empty Parcel';
isa_ok < >, Parcel, '< > (only whitespace) is empty Parcel';
is < >.elems, 0, ".. and it's really empty";

# vim: ft=perl6
4 changes: 2 additions & 2 deletions S02-literals/misc-interpolation.t
Expand Up @@ -80,7 +80,7 @@ is(qa"$world @list[] %hash{}", Q"$world 1 2 %hash{}", "only interpolate array");
is(qb"$world \\\"\n\t", "\$world \\\"\n\t", "only interpolate backslash");
is('$world \qq[@list[]] %hash{}', '$world 1 2 %hash{}', "interpolate quoting constructs in ''");

is(" \c[111] \c[107] ", ' o k ', "\\c[] respects whitespaces around it");
is(" \c[111] \c[107] ", ' o k ', "\\c[] respects whitespace around it");

# L<S02/Radix interpolation/separating the numbers with comma:>
is("x \x[41,42,43] x", "x ABC x", "\\x[] allows multiple chars (1)");
Expand Down Expand Up @@ -108,7 +108,7 @@ is("x \c[65,66,67]] x", "x ABC] x", "\\c[] should not eat following ]s");
'interpolation of indirect method calls (same quotes)';
throws_like { EVAL q["|$x."f "()"] },
X::Syntax::Confused,
'... but whitespaces are not allowed';
'... but whitespace is not allowed';
}

# RT # 104594
Expand Down
2 changes: 1 addition & 1 deletion S12-attributes/instance.t
Expand Up @@ -371,7 +371,7 @@ is Foo7e.new.attr, 42, "default attribute value (1)";
lives_ok { $x.set_hash2 }, 'can assign to %!hash attribute';
}

# test that whitespaces after 'has (' are allowed.
# test that whitespace characters after 'has (' are allowed.
# This used to be a Rakudo bug (RT #61914)
#?niecza skip 'Unhandled parameter twigil .'
{
Expand Down
2 changes: 1 addition & 1 deletion integration/real-strings.t
Expand Up @@ -65,7 +65,7 @@ is "helo".substr(0,3).trans, 'hel', 'substr returns P6 strings (RT 76564, RT 710
# RT #75456 hilarity
{
ok ('1 ' ~~ /.+/) && $/ eq '1 ', 'matching sanity';
ok +$/ == 1, 'numification of match objects with trailing whitespaces';
ok +$/ == 1, 'numification of match objects with trailing whitespace';

}

Expand Down

0 comments on commit 4e43db6

Please sign in to comment.