Permalink
Browse files

[t] some updates to README, and fixed all but one smartlink in t/spec/

git-svn-id: http://svn.pugscode.org/pugs@21775 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent 8bd0dba commit 3152b01e37f7fc4b26d7190e3447018955783067 moritz committed Aug 4, 2008
@@ -38,7 +38,7 @@ is ('a'..'a'), [< a >], 'got the right array';
# Decreasing Ranges - see S03-operators/range for boundry tests
{
- # L<S03/Range Semantics/"Ranges are not autoreversing">
+ # L<S03/Range semantics/"Ranges are not autoreversing">
ok (5..1) !~~ 3, '(5..1) is the null range';
ok (5^..1) !~~ 3, '(5^..1) is the null range';
ok (5..^1) !~~ 3, '(5..^1) is the null range';
View
@@ -1,7 +1,7 @@
use v6;
use Test;
-# L<S02/"Literals"/"In scalar context, though, the implied parentheses are not removed">
+# L<S02/"Literals"/"In item context, though, the implied parentheses are not removed">
=begin description
View
@@ -83,7 +83,8 @@ plan 35;
ok((% 1,2 Z 3,4) eqv {1 => 2, 3 => 4}, '% has correct precedence to change context of zip infix');
}
-# L<S03/Changes to Perl 5 operators/Perl 5's ${...}, @{...}, %{...}, etc>
+# L<S03/"Changes to Perl 5 operators"/Perl 5's ${...}, @{...}, %{...}, etc>
+# ^ non-breaking space
# Deprecated P5 dereferencing operators:
{
my $scalar = 'abcd';
View
@@ -119,7 +119,7 @@ eval_dies_ok 'my $i; do { $i++ } given $i;',
'), 2, "'redo' works in 'do' block";
}
-# L<S04/The do-once loop/"bare block" "no longer a do-once loop">
+# L<S04/The do-once loop/"bare block is not a do-once">
{
eval_dies_ok 'my $i; { $i++; next; $i--; }',
"bare block can't take 'next'";
@@ -4,7 +4,8 @@ use Test;
plan 9;
-# L<S04/"Statement parsing"/"statement termination">
+# L<S04/"Statement-ending blocks"/"will terminate a statement">
+# XXX is this smartlink the correct target? It was broken before -- moritz
# the 'empty statement' case responsible for the creation of this test file
eval_lives_ok(';', 'empty statement');
@@ -85,7 +85,9 @@ character classes), and those are referenced at the correct spot.
eval_dies_ok('"foo" ~~ /<test:>/', 'no other characters are allowed (:)');
}
-# L<S05/Extensible metasyntax (<...>)/A leading . causes a named assertion not to capture what it matches
+# L<S05/"Extensible metasyntax (<...>)"/A leading . causes a named assertion not to capture what it matches>
+# XXX "section ``Extensible metasyntax (<...>)'' not found in S05." - how to
+# reference that section?
{
is('blorg' ~~ /<.alpha>/, '', 'leading . prevents capturing');
}

0 comments on commit 3152b01

Please sign in to comment.