Skip to content

Commit 2d3a126

Browse files
authoredNov 6, 2020
Tests: Fixed sorted language list test (#2623)
1 parent 7951ca2 commit 2d3a126

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tests/dependencies-test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ describe('components.json', function () {
327327
return comp;
328328
}
329329
// a and b have the same intermediate form (e.g. "C" => "C", "C++" => "C", "C#" => "C").
330-
a.title.toLowerCase().localeCompare(b.title.toLowerCase())
330+
return a.title.toLowerCase().localeCompare(b.title.toLowerCase());
331331
});
332332

333333
assert.sameOrderedMembers(languages, sorted);

0 commit comments

Comments
 (0)
Please sign in to comment.