Fix assertion

This commit is contained in:
Daniel García Aubert 2017-06-05 14:59:35 +02:00
parent 869408b7b7
commit 003227fb29

View File

@ -181,7 +181,7 @@ describe('histogram-dataview for date column type', function() {
.format();
assert.equal(binTimestampFormatted, binTimestampExpected);
assert.ok(bin.timestamp <= bin.min && 'bin timestamp < bin min: ' + JSON.stringify(bin));
assert.ok(bin.timestamp <= bin.min, 'bin timestamp < bin min: ' + JSON.stringify(bin));
assert.ok(bin.min <= bin.max, 'bin min < bin max: ' + JSON.stringify(bin));
});
@ -260,6 +260,7 @@ describe('histogram-dataview for date column type', function() {
.format();
assert.equal(binTimestampFormatted, binTimestampExpected);
assert.ok(bin.timestamp <= bin.min, 'bin timestamp < bin min: ' + JSON.stringify(bin));
assert.ok(bin.min <= bin.max, 'bin min < bin max: ' + JSON.stringify(bin));
});