blob: a17a7158b34db3a000a5b56c6864681fb97bf97f [file] [log] [blame]
barraclough@apple.comb467c4c2010-07-13 20:34:11 +00001This tests that a call to array.sort(compareFunction) works correctly for numeric comparisons (arg1 - arg2), and also for things that might look like numeric comparisons.
2
3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6PASS [3,1,5,2,4].sort(doSort) is [1,2,3,4,5]
7PASS [3,1,5,2,4].sort(dontSort) is [3,1,5,2,4]
8PASS successfullyParsed is true
9
10TEST COMPLETE
11