Skip to content

Commit

Permalink
added test case confirming failure for #13
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Palmer committed Apr 22, 2015
1 parent de0c5b3 commit 48536ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions unit-tests.html
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,10 @@
['1', '02', '3'],
['1', '02', '3'],
'issue #18 - Any zeros that precede a number messes up the sorting - menixator');
wrapTest(
['1.100', '1.1', '1.10', '1.54'],
['1.1', '1.10', '1.100', '1.54'],
"issue #13 - ['1.100', '1.10', '1.1', '1.54'] etc do not sort properly... - rubenstolk");
});
});
function wrapTest(origArray, sortArray, message) {
Expand Down

0 comments on commit 48536ef

Please sign in to comment.