Skip to content

Commit 8935ebb

Browse files
committed
Fixes out-of-order issue of test results.
Signed-off-by: Eric Wang <[email protected]>
1 parent 55dbbaf commit 8935ebb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/commands/test.js

+1
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ function runTest(argv) {
8080
core.testProblem(problem, function(e, results) {
8181
if (e) return log.fail(e);
8282

83+
results = _.sortBy(results, x => x.type);
8384
for (let i = 0; i < results.length; ++i) {
8485
log.info();
8586
log.info(chalk.yellow(results[i].type));

0 commit comments

Comments
 (0)