Skip to content

Commit

Permalink
test all cases
Browse files Browse the repository at this point in the history
  • Loading branch information
pemrouz committed Aug 23, 2015
1 parent 29df53a commit 5ef0e10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var expect = require('chai').expect

describe('az', function() {
it('should filter less than value', function() {
var a = [{ val: 3 }, { val: 1 }, { val: 2 }]
expect(a.sort(az('val'))).to.be.eql([{ val: 1 }, { val: 2 }, { val: 3 }])
var a = [{ val: 2 }, { val: 3 }, { val: 1 }, { val: 2 }]
expect(a.sort(az('val'))).to.be.eql([{ val: 1 }, { val: 2 }, { val: 2 }, { val: 3 }])
})
})

0 comments on commit 5ef0e10

Please sign in to comment.