This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
for beter make distclean (was Re: [PATCH] Re: [ID 20020305.026] Not OK: perl v5.7...
[perl5.git] / lib / sort.t
CommitLineData
84d4ea48
JH
1#!./perl
2
3BEGIN {
4 chdir 't' if -d 't';
5 @INC = '../lib';
6}
7
8use Test::More tests => 2;
9
10BEGIN {
11 require "sort.pm"; # require sort; does not work
12 ok(sort::current() eq 'mergesort');
13}
14
c53fc8a6
JH
15use sort qw( stable _qsort );
16ok(sort::current() eq 'quicksort stable');
84d4ea48 17