Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[t/spec] Converted pod markers to pod6

git-svn-id: http://svn.pugscode.org/pugs@19735 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
commit 8313f3f61627576cbbdb0b3c931c99fa4b4560b8 1 parent 2704bb9
cosimo authored
View
4 S29-list/first.t
@@ -3,11 +3,11 @@ use Test;
# L<S29/"List"/"=item first">
-=kwid
+=begin pod
built-in "first" tests
-=cut
+=end pod
plan 9;
View
4 S29-list/grep.t
@@ -3,11 +3,11 @@ use Test;
# L<S29/"List"/"=item grep">
-=kwid
+=begin pod
built-in grep tests
-=cut
+=end pod
plan 29;
View
8 S29-list/map.t
@@ -4,11 +4,11 @@ plan 60;
# L<S29/"List"/"=item map">
-=kwid
+=begin pod
built-in map tests
-=cut
+=end pod
my @list = (1 .. 5);
@@ -112,7 +112,7 @@ my @list = (1 .. 5);
is ~(42,).map:{ $_ }, "42", "method form of map should work on arrays";
}
-=pod
+=begin pod
Test that a constant list can have C<map> applied to it.
@@ -123,7 +123,7 @@ should be equivalent to
my @val = ("foo","bar");
@val = map { substr($_,1,1) }, @val;
-=cut
+=end pod
{
my @expected = ("foo","bar");
View
5 S29-list/minmax.t
@@ -4,7 +4,7 @@ use Test;
plan 24;
-=head1 DESCRIPTION
+=begin description
This test tests the C<min> and C<max> builtins.
@@ -12,7 +12,8 @@ Reference:
L<"http://groups.google.com/groups?selm=420DB295.3000902%40conway.org">
L<S29/"List"/"=item min">
L<S29/"List"/"=item max">
-=cut
+
+=end description
my @array = <5 -3 7 0 1 -9>;
View
4 S29-list/pick.t
@@ -4,7 +4,7 @@ use Test;
plan 11;
-=head1 DESCRIPTION
+=begin description
This test tests the C<pick> builtin. See S29#pick.
@@ -12,7 +12,7 @@ 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">
-=cut
+=end description
# L<S29/List/=item pick>
View
4 S29-list/reduce.t
@@ -2,14 +2,14 @@ use v6-alpha;
use Test;
-=head1 DESCRIPTION
+=begin description
This test tests the C<reduce> builtin.
Reference:
L<"http://groups.google.com/groups?selm=420DB295.3000902%40conway.org">
-=cut
+=end description
plan 11;
View
8 S29-list/reverse.t
@@ -3,11 +3,11 @@ use Test;
# L<S29/List/"=item reverse">
-=pod
+=begin pod
Basic test for the reverse() builtin with a string (Str).
-=cut
+=end pod
plan 44;
@@ -34,13 +34,13 @@ is( '䀻«'.reverse, '«»€ä', "some unicode characters" );
# L<S29/"List"/"=item reverse">
-=kwid
+=begin pod
Tests for "reverse" builtin with lists.
NOTE: "reverse" is no longer context-sensitive. See S29.
-=cut
+=end pod
my @a = reverse(1, 2, 3, 4);
View
4 S29-list/uniq.t
@@ -4,7 +4,7 @@ use Test;
plan 9;
-=head1 DESCRIPTION
+=begin description
This test tests the C<uniq> builtin.
@@ -13,7 +13,7 @@ L<"http://groups.google.com/groups?selm=420DB295.3000902%40conway.org">
See the thread "[S29] uniq" on p6l, too.
-=cut
+=end description
{
my @array = <a b b c d e b b b b f b>;
Please sign in to comment.
Something went wrong with that request. Please try again.