Skip to content

Commit

Permalink
Merge pull request #925 from mauke/fix-links
Browse files Browse the repository at this point in the history
fix links to github repo and licenses
  • Loading branch information
exodist authored Apr 25, 2024
2 parents 364fe2e + 04367ee commit 2de12db
Show file tree
Hide file tree
Showing 67 changed files with 150 additions and 150 deletions.
4 changes: 2 additions & 2 deletions dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ exclude_filename = README.md
[TestRelease]

[MetaResources]
bugtracker.web = http://github.com/Test-More/test-more/issues
repository.url = http://github.com/Test-More/test-more/
bugtracker.web = https://github.com/Test-More/test-more/issues
repository.url = https://github.com/Test-More/test-more/
repository.type = git

[OnlyCorePrereqs]
Expand Down
2 changes: 1 addition & 1 deletion lib/Test/Builder.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2647,4 +2647,4 @@ Copyright 2002-2008 by chromatic E<lt>chromatic@wgz.orgE<gt> and
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
See F<http://www.perl.com/perl/misc/Artistic.html>
See L<https://dev.perl.org/licenses/>
4 changes: 2 additions & 2 deletions lib/Test/Builder/Formatter.pm
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ This is what takes events and turns them into TAP.
=head1 SOURCE
The source code repository for Test2 can be found at
F<http://github.com/Test-More/test-more/>.
L<https://github.com/Test-More/test-more/>.
=head1 MAINTAINERS
Expand All @@ -102,6 +102,6 @@ Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
See F<http://dev.perl.org/licenses/>
See L<https://dev.perl.org/licenses/>
=cut
4 changes: 2 additions & 2 deletions lib/Test/Builder/TodoDiag.pm
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ You do not need to use this directly.
=head1 SOURCE
The source code repository for Test2 can be found at
F<http://github.com/Test-More/test-more/>.
L<https://github.com/Test-More/test-more/>.
=head1 MAINTAINERS
Expand All @@ -63,6 +63,6 @@ Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
See F<http://dev.perl.org/licenses/>
See L<https://dev.perl.org/licenses/>
=cut
42 changes: 21 additions & 21 deletions lib/Test/FAQ.pod
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ L<Test::Tutorial>

=head2 Are there any modules for testing?

A whole bunch. Start with L<Test::Simple> then move onto Test::More.
A whole bunch. Start with L<Test::Simple>, then move on to L<Test::More>.

Then go onto L<http://search.cpan.org> and search for "Test".
Then go on to L<https://metacpan.org/> and search for "Test".

=head2 Are there any modules for testing web pages/CGI programs?

Expand Down Expand Up @@ -212,12 +212,12 @@ C<ok(...) || diag "...";>

=head2 Why use an ok() function?

On Tue, Aug 28, 2001 at 02:12:46PM +0100, Robin Houston wrote:
> Michael Schwern wrote:
> > Ah HA! I've been wondering why nobody ever thinks to write a simple
> > ok() function for their tests! perlhack has bad testing advice.
>
> Could you explain the advantage of having a "simple ok() function"?
On Tue, Aug 28, 2001 at 02:12:46PM +0100, Robin Houston wrote:
> Michael Schwern wrote:
> > Ah HA! I've been wondering why nobody ever thinks to write a simple
> > ok() function for their tests! perlhack has bad testing advice.
>
> Could you explain the advantage of having a "simple ok() function"?

Because writing:

Expand All @@ -230,9 +230,9 @@ first place. It also looks like hell and obscures the real purpose.
Besides, that will cause problems on VMS.


> As somebody who has spent many painful hours debugging test failures,
> I'm intimately familiar with the _disadvantages_. When you run the
> test, you know that "test 113 failed". That's all you know, in general.
> As somebody who has spent many painful hours debugging test failures,
> I'm intimately familiar with the _disadvantages_. When you run the
> test, you know that "test 113 failed". That's all you know, in general.

Second advantage is you can easily upgrade the C<ok()> function to fix
this, either by slapping this line in:
Expand Down Expand Up @@ -333,16 +333,16 @@ The most useful functions in L<Test::More> are C<is()>, C<like()> and C<is_deepl

=head2 How do I check for an infinite loop?

On Mon, Mar 18, 2002 at 03:57:55AM -0500, Mark-Jason Dominus wrote:
>
> Michael The Schwern <schwern@pobox.com> says:
> > Use alarm and skip the test if $Config{d_alarm} is false (see
> > t/op/alarm.t for an example). If you think the infinite loop is due
> > to a programming glitch, as opposed to a cross-platform issue, this
> > will be enough.
>
> Thanks very much!
>
On Mon, Mar 18, 2002 at 03:57:55AM -0500, Mark-Jason Dominus wrote:
>
> Michael The Schwern <schwern@pobox.com> says:
> > Use alarm and skip the test if $Config{d_alarm} is false (see
> > t/op/alarm.t for an example). If you think the infinite loop is due
> > to a programming glitch, as opposed to a cross-platform issue, this
> > will be enough.
>
> Thanks very much!
>

=head2 How can I check that flock works?

Expand Down
6 changes: 3 additions & 3 deletions lib/Test/More.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2020,13 +2020,13 @@ the perl-qa gang.
=head1 BUGS
See F<https://github.com/Test-More/test-more/issues> to report and view bugs.
See L<https://github.com/Test-More/test-more/issues> to report and view bugs.
=head1 SOURCE
The source code repository for Test::More can be found at
F<http://github.com/Test-More/test-more/>.
L<https://github.com/Test-More/test-more/>.
=head1 COPYRIGHT
Expand All @@ -2036,7 +2036,7 @@ Copyright 2001-2008 by Michael G Schwern E<lt>schwern@pobox.comE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
See F<http://www.perl.com/perl/misc/Artistic.html>
See L<https://dev.perl.org/licenses/>
=cut

Expand Down
2 changes: 1 addition & 1 deletion lib/Test/Simple.pm
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ Copyright 2001-2008 by Michael G Schwern E<lt>schwern@pobox.comE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
See F<http://www.perl.com/perl/misc/Artistic.html>
See L<https://dev.perl.org/licenses/>
=cut

Expand Down
2 changes: 1 addition & 1 deletion lib/Test/Tester.pm
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,6 @@ Schwern <schwern@pobox.com>.
Under the same license as Perl itself
See http://www.perl.com/perl/misc/Artistic.html
See L<https://dev.perl.org/licenses/>
=cut
2 changes: 1 addition & 1 deletion lib/Test/Tester/Capture.pm
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,6 @@ chunks removed by Fergal Daly <fergal@esatclear.ie>.
Under the same license as Perl itself
See http://www.perl.com/perl/misc/Artistic.html
See L<https://dev.perl.org/licenses/>
=cut
2 changes: 1 addition & 1 deletion lib/Test/Tester/CaptureRunner.pm
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ Copyright 2003 by Fergal Daly <fergal@esatclear.ie>.
Under the same license as Perl itself
See http://www.perl.com/perl/misc/Artistic.html
See L<https://dev.perl.org/licenses/>
=cut
4 changes: 2 additions & 2 deletions lib/Test/use/ok.pm
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ L<Test::More>
=head1 CC0 1.0 Universal
To the extent possible under law, 唐鳳 has waived all copyright and related
or neighboring rights to L<Test-use-ok>.
or neighboring rights to L<Test::use::ok>.
This work is published from Taiwan.
L<http://creativecommons.org/publicdomain/zero/1.0>
L<https://creativecommons.org/publicdomain/zero/1.0/>
=cut
4 changes: 2 additions & 2 deletions lib/Test2.pm
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ emailing Chad Granum E<lt>exodist@cpan.orgE<gt>.
=head1 SOURCE
The source code repository for Test2 can be found at
F<http://github.com/Test-More/test-more/>.
L<https://github.com/Test-More/test-more/>.
=head1 MAINTAINERS
Expand All @@ -208,6 +208,6 @@ Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
See F<http://dev.perl.org/licenses/>
See L<https://dev.perl.org/licenses/>
=cut
4 changes: 2 additions & 2 deletions lib/Test2/API/Breakage.pm
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ not tested or verified.
=head1 SOURCE
The source code repository for Test2 can be found at
F<http://github.com/Test-More/test-more/>.
L<https://github.com/Test-More/test-more/>.
=head1 MAINTAINERS
Expand All @@ -175,6 +175,6 @@ Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
See F<http://dev.perl.org/licenses/>
See L<https://dev.perl.org/licenses/>
=cut
4 changes: 2 additions & 2 deletions lib/Test2/API/Context.pm
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ tools, plugins, and other extensions.
=head1 SOURCE
The source code repository for Test2 can be found at
F<http://github.com/Test-More/test-more/>.
L<https://github.com/Test-More/test-more/>.
=head1 MAINTAINERS
Expand All @@ -1014,6 +1014,6 @@ Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
See F<http://dev.perl.org/licenses/>
See L<https://dev.perl.org/licenses/>
=cut
4 changes: 2 additions & 2 deletions lib/Test2/API/Instance.pm
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ which case new strings will be passed in. These are purely informative, you can
=head1 SOURCE
The source code repository for Test2 can be found at
F<http://github.com/Test-More/test-more/>.
L<https://github.com/Test-More/test-more/>.
=head1 MAINTAINERS
Expand All @@ -825,6 +825,6 @@ Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
See F<http://dev.perl.org/licenses/>
See L<https://dev.perl.org/licenses/>
=cut
4 changes: 2 additions & 2 deletions lib/Test2/API/InterceptResult.pm
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ C<error_messages()> returns.
=head1 SOURCE
The source code repository for Test2 can be found at
F<http://github.com/Test-More/test-more/>.
L<https://github.com/Test-More/test-more/>.
=head1 MAINTAINERS
Expand All @@ -629,6 +629,6 @@ Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
See F<http://dev.perl.org/licenses/>
See L<https://dev.perl.org/licenses/>
=cut
4 changes: 2 additions & 2 deletions lib/Test2/API/InterceptResult/Event.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,7 @@ TODO
=head1 SOURCE
The source code repository for Test2 can be found at
F<http://github.com/Test-More/test-more/>.
L<https://github.com/Test-More/test-more/>.
=head1 MAINTAINERS
Expand All @@ -1083,6 +1083,6 @@ Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
See F<http://dev.perl.org/licenses/>
See L<https://dev.perl.org/licenses/>
=cut
4 changes: 2 additions & 2 deletions lib/Test2/API/InterceptResult/Hub.pm
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Test2::API::InterceptResult::Hub - Hub used by InterceptResult.
=head1 SOURCE
The source code repository for Test2 can be found at
F<http://github.com/Test-More/test-more/>.
L<https://github.com/Test-More/test-more/>.
=head1 MAINTAINERS
Expand All @@ -61,6 +61,6 @@ Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
See F<http://dev.perl.org/licenses/>
See L<https://dev.perl.org/licenses/>
=cut
4 changes: 2 additions & 2 deletions lib/Test2/API/InterceptResult/Squasher.pm
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ Internal use only, please ignore.
=head1 SOURCE
The source code repository for Test2 can be found at
F<http://github.com/Test-More/test-more/>.
L<https://github.com/Test-More/test-more/>.
=head1 MAINTAINERS
Expand All @@ -191,6 +191,6 @@ Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
See F<http://dev.perl.org/licenses/>
See L<https://dev.perl.org/licenses/>
=cut
4 changes: 2 additions & 2 deletions lib/Test2/API/Stack.pm
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ match the hub you expect (passed in as an argument) it will throw an exception.
=head1 SOURCE
The source code repository for Test2 can be found at
F<http://github.com/Test-More/test-more/>.
L<https://github.com/Test-More/test-more/>.
=head1 MAINTAINERS
Expand All @@ -221,6 +221,6 @@ Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
See F<http://dev.perl.org/licenses/>
See L<https://dev.perl.org/licenses/>
=cut
4 changes: 2 additions & 2 deletions lib/Test2/Event.pm
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ tools, plugins, and other extensions.
=head1 SOURCE
The source code repository for Test2 can be found at
F<http://github.com/Test-More/test-more/>.
L<https://github.com/Test-More/test-more/>.
=head1 MAINTAINERS
Expand All @@ -773,6 +773,6 @@ Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
See F<http://dev.perl.org/licenses/>
See L<https://dev.perl.org/licenses/>
=cut
4 changes: 2 additions & 2 deletions lib/Test2/Event/Bail.pm
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ The reason for the bailout.
=head1 SOURCE
The source code repository for Test2 can be found at
F<http://github.com/Test-More/test-more/>.
L<https://github.com/Test-More/test-more/>.
=head1 MAINTAINERS
Expand All @@ -104,6 +104,6 @@ Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
See F<http://dev.perl.org/licenses/>
See L<https://dev.perl.org/licenses/>
=cut
4 changes: 2 additions & 2 deletions lib/Test2/Event/Diag.pm
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ The message for the diag.
=head1 SOURCE
The source code repository for Test2 can be found at
F<http://github.com/Test-More/test-more/>.
L<https://github.com/Test-More/test-more/>.
=head1 MAINTAINERS
Expand All @@ -94,6 +94,6 @@ Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
See F<http://dev.perl.org/licenses/>
See L<https://dev.perl.org/licenses/>
=cut
Loading

0 comments on commit 2de12db

Please sign in to comment.