Remove trailing whitespace from tests
This commit is contained in:
parent
8838a4e567
commit
67d3070b14
|
@ -495,9 +495,9 @@ assist.dataTypeSupport = function(connection, tableName, array, done) {
|
|||
result.rows[i].CONTENT.should.eql(array[result.rows[i].NUM]);
|
||||
else if( Buffer.isBuffer(result.rows[i].CONTENT) )
|
||||
result.rows[i].CONTENT.toString('hex').should.eql(array[result.rows[i].NUM].toString('hex'));
|
||||
else if (Object.prototype.toString.call(result.rows[i].CONTENT) === '[object Date]')
|
||||
else if (Object.prototype.toString.call(result.rows[i].CONTENT) === '[object Date]')
|
||||
result.rows[i].CONTENT.getTime().should.eql(array[result.rows[i].NUM].getTime());
|
||||
else
|
||||
else
|
||||
should.not.exist(new Error('Uncaught data type!'));
|
||||
}
|
||||
done();
|
||||
|
@ -576,9 +576,9 @@ function fetchRowsFromRS(rs, array, cb)
|
|||
rows[i].CONTENT.should.eql(array[rows[i].NUM]);
|
||||
else if( Buffer.isBuffer(rows[i].CONTENT) )
|
||||
rows[i].CONTENT.toString('hex').should.eql(array[rows[i].NUM].toString('hex'));
|
||||
else if (Object.prototype.toString.call(rows[i].CONTENT) === '[object Date]')
|
||||
else if (Object.prototype.toString.call(rows[i].CONTENT) === '[object Date]')
|
||||
rows[i].CONTENT.getTime().should.eql(array[rows[i].NUM].getTime());
|
||||
else
|
||||
else
|
||||
should.not.exist(new Error('Uncaught data type!'));
|
||||
}
|
||||
return fetchRowsFromRS(rs, array, cb);
|
||||
|
|
|
@ -85,10 +85,10 @@ describe('32. dataTypeDate.js', function() {
|
|||
it('32.1.1 works well with SELECT query', function(done) {
|
||||
var arrayLength = dates.length;
|
||||
for (var i = 0; i < arrayLength; i++) {
|
||||
if (dates[i].getMilliseconds() > 0)
|
||||
dates[i].setMilliseconds(0);
|
||||
if (dates[i].getMilliseconds() > 0)
|
||||
dates[i].setMilliseconds(0);
|
||||
}
|
||||
|
||||
|
||||
assist.dataTypeSupport(connection, tableName, dates, done);
|
||||
})
|
||||
|
||||
|
|
|
@ -240,7 +240,7 @@
|
|||
13.1.10 meta data
|
||||
13.1.11 stream results with bulk size set
|
||||
13.1.12 stream stress test
|
||||
|
||||
|
||||
21. datatypeAssist.js
|
||||
|
||||
22. dataTypeChar.js
|
||||
|
|
Loading…
Reference in New Issue