From bf4022e00d955084c7194df63f9bda1b140393ef Mon Sep 17 00:00:00 2001 From: Tony Brix Date: Sat, 6 Jan 2018 21:09:49 -0600 Subject: [PATCH] sort tests --- test/index.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/index.js b/test/index.js index 26f39522..62b78796 100644 --- a/test/index.js +++ b/test/index.js @@ -33,11 +33,7 @@ function load() { .filter(function(file) { return path.extname(file) !== '.html'; }) - .sort(function(a, b) { - a = path.basename(a).toLowerCase().charCodeAt(0); - b = path.basename(b).toLowerCase().charCodeAt(0); - return a > b ? 1 : (a < b ? -1 : 0); - }); + .sort(); i = 0; l = list.length;