for beter make distclean (was Re: [PATCH] Re: [ID 20020305.026] Not OK: perl v5.7...
[p5sagit/p5-mst-13.2.git] / lib / sort.t
CommitLineData
84d4ea48 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 15use sort qw( stable _qsort );
16ok(sort::current() eq 'quicksort stable');
84d4ea48 17