Skip to content

Commit 7929bb3

Browse files
committed
Lint test
1 parent c058308 commit 7929bb3

File tree

1 file changed

+18
-28
lines changed

1 file changed

+18
-28
lines changed

test/fetchTimestampAsString.js

+18-28
Original file line numberDiff line numberDiff line change
@@ -288,26 +288,6 @@ describe('19. fetchTimestampAsString.js', function() {
288288

289289
}); // 19.3
290290

291-
function test9(table, want, callback) {
292-
var sql = "select content from " + table + " order by num";
293-
var stream = connection.queryStream(
294-
sql,
295-
[],
296-
{ fetchInfo: { "CONTENT": { type: oracledb.STRING } } }
297-
);
298-
299-
var result = [];
300-
stream.on('data', function(data) {
301-
should.exist(data);
302-
result.push(data);
303-
});
304-
305-
stream.on('end', function() {
306-
should.deepEqual(result, want);
307-
setTimeout(callback, 100);
308-
});
309-
}
310-
311291
// fetchInfo option
312292
function test1(table, want, callback) {
313293
connection.execute(
@@ -496,14 +476,24 @@ describe('19. fetchTimestampAsString.js', function() {
496476
);
497477
}
498478

499-
});
500-
501-
502-
503-
504-
505-
506-
479+
function test9(table, want, callback) {
480+
var sql = "select content from " + table + " order by num";
481+
var stream = connection.queryStream(
482+
sql,
483+
[],
484+
{ fetchInfo: { "CONTENT": { type: oracledb.STRING } } }
485+
);
507486

487+
var result = [];
488+
stream.on('data', function(data) {
489+
should.exist(data);
490+
result.push(data);
491+
});
508492

493+
stream.on('end', function() {
494+
should.deepEqual(result, want);
495+
setTimeout(callback, 100);
496+
});
497+
}
509498

499+
});

0 commit comments

Comments
 (0)