Browse Source

Correct test description

mbroad/unittest/lib/shared
MacLeod Broad 7 years ago
parent
commit
031d6407ac
No known key found for this signature in database GPG Key ID: F1B295D13C3CC9CF
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/DataSet.test.js

+ 1
- 1
test/DataSet.test.js View File

@ -473,7 +473,7 @@ describe('DataSet', function () {
assert.deepEqual(distinctValues, [1, 2, 3]);
});
it('handles undefined values', function () {
it('handles duplicate values', function () {
var dataset = new DataSet([{val: 1}, {val: 1}, {val: 2}, {val: 3}]);
var distinctValues = dataset.distinct('val');
assert.deepEqual(distinctValues, [1, 2, 3]);

Loading…
Cancel
Save