Permalink
Browse files

[t/spec] fix smartlinks in S32-list

git-svn-id: http://svn.pugscode.org/pugs@26463 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
moritz
moritz committed Apr 26, 2009
1 parent db6b784 commit ccace7294e6ce221ece835a6f5225fcf58c05e32
View
@@ -1,7 +1,7 @@
use v6;
use Test;
-# L<S29/"List"/"=item classify">
+# L<S32::Containers/"List"/"=item classify">
plan 10;
View
@@ -5,7 +5,7 @@ use Test;
=begin docs
Array .end tests
-L<S29/Array/=item end>
+L<S32::Containers/Array/=item end>
=end docs
plan 15;
View
@@ -1,7 +1,7 @@
use v6;
use Test;
-# L<S29/"List"/"=item first">
+# L<S32::Containers/"List"/"=item first">
=begin pod
View
@@ -1,7 +1,7 @@
use v6;
use Test;
-# L<S29/"List"/"=item grep">
+# L<S32::Containers/"List"/"=item grep">
=begin pod
View
@@ -2,7 +2,7 @@ use v6;
use Test;
plan 35;
-# L<S29/"List"/"=item join">
+# L<S32::Containers/"List"/"=item join">
# test all variants of join()
@@ -116,11 +116,11 @@ is(("hi",).join("!"), "hi", "&join works with one-element lists (3)");
# Similar as with .kv: (42).kv should die, but (42,).kv should work.
## <pmichaud>: I think the following two tests are likely incorrect.
- ## Prior to r20722 S29 gave the following definitions for C<join>:
+ ## Prior to r20722 S32::Containers gave the following definitions for C<join>:
## our Str multi method join ( $separator: @values )
## our Str multi join ( Str $separator = ' ', *@values )
## Neither of these allows C< @list.join('sep') > to work.
- ## In r20722 I changed S29 to read
+ ## In r20722 I changed S32::Containers to read
## our Str multi method join ( @values: $separator = ' ' )
## our Str multi join ( Str $separator = ' ', *@values )
## This enables C< @list.join('sep') > to work, but now
@@ -136,7 +136,7 @@ is(("hi",).join("!"), "hi", "&join works with one-element lists (3)");
## : Fallback semantics in S12 suggest that since no matching multi method is
## : found, subs are tried - that is, the expression is interpreted as
## : join('str', 'other_str')
-## : yielding 'other_str'. t/spec/S29-list/join.t disagrees, and wants the
+## : yielding 'other_str'. t/spec/S32::Containers-list/join.t disagrees, and wants the
## : result to be 'str'.
##
## I want the result to be 'str'.
View
@@ -2,7 +2,7 @@ use v6;
use Test;
plan 89;
-# L<S29/"List"/"=item map">
+# L<S32::Containers/"List"/"=item map">
=begin pod
@@ -2,7 +2,7 @@ use v6;
use Test;
plan 2;
-# L<S29/"List"/"=item map">
+# L<S32::Containers/"List"/"=item map">
my $text = "abc";
my %ret;
View
@@ -10,8 +10,8 @@ This test tests the C<min> and C<max> builtins.
Reference:
L<"http://groups.google.com/groups?selm=420DB295.3000902%40conway.org">
-L<S29/"List"/"=item min">
-L<S29/"List"/"=item max">
+L<S32::Containers/"List"/"=item min">
+L<S32::Containers/"List"/"=item max">
As per S32, the sub form requires a comparison function. The form without
comparison function is spelled [min]
View
@@ -6,15 +6,15 @@ plan 16;
=begin description
-This test tests the C<pick> builtin. See S29#pick.
+This test tests the C<pick> builtin. See S32::Containers#pick.
Previous discussions about pick.
L<"http://groups.google.com/group/perl.perl6.language/tree/browse_frm/thread/24e369fba3ed626e/4e893cad1016ed94?rnum=1&_done=%2Fgroup%2Fperl.perl6.language%2Fbrowse_frm%2Fthread%2F24e369fba3ed626e%2F6e6a2aad1dcc879d%3F#doc_2ed48e2376511fe3">
=end description
-# L<S29/List/=item pick>
+# L<S32::Containers/List/=item pick>
my @array = <a b c d>;
ok ?(@array.pick eq any <a b c d>), "pick works on arrays";
View
@@ -13,7 +13,7 @@ L<"http://groups.google.com/groups?selm=420DB295.3000902%40conway.org">
plan 14;
-# L<S29/List/=item reduce>
+# L<S32::Containers/List/=item reduce>
{
my @array = <5 -3 7 0 1 -9>;
View
@@ -1,7 +1,7 @@
use v6;
use Test;
-# L<S29/List/"=item reverse">
+# L<S32::Containers/List/"=item reverse">
=begin pod
View
@@ -2,7 +2,7 @@ use v6;
use Test;
plan 28;
-# L<S29/"List"/"=item sort">
+# L<S32::Containers/"List"/"=item sort">
{
my @a = (4, 5, 3, 2, 5, 1);
View
@@ -11,7 +11,7 @@ This test tests the C<uniq> builtin.
Reference:
L<"http://groups.google.com/groups?selm=420DB295.3000902%40conway.org">
-See the thread "[S29] uniq" on p6l, too.
+See the thread "[S32::Containers] uniq" on p6l, too.
Not (yet?) in the spec, but implemented by (nearly?) all implementations.

0 comments on commit ccace72

Please sign in to comment.