Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 71c196d

Browse files
author
vyarovuy
committed
fix tests
1 parent 05b2dd6 commit 71c196d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/select.spec.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,9 @@ describe('ui-select tests', function() {
6161
};
6262

6363
scope.filterInvertOrder = function(groups) {
64-
var results = groups.sort(function(groupA, groupB){
64+
return groups.sort(function(groupA, groupB){
6565
return groupA.name.toLocaleLowerCase() < groupB.name.toLocaleLowerCase();
6666
});
67-
return results;
6867
};
6968

7069

0 commit comments

Comments
 (0)