Skip to content

Commit be5de21

Browse files
committed
Change event names in tests
1 parent f44f867 commit be5de21

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

test/dataTypeBlob.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,13 +149,13 @@ describe('41. dataTypeBlob', function() {
149149
should.exist(lob);
150150

151151
lob.on('error', function(err) {
152-
should.not.exist(err, "lob.on 'end' event");
152+
should.not.exist(err, "lob.on 'error' event");
153153
});
154154

155155
var outStream = fs.createWriteStream(outFileName);
156156

157157
outStream.on('error', function(err) {
158-
should.not.exist(err, "outStream.on 'end' event");
158+
should.not.exist(err, "outStream.on 'error' event");
159159
});
160160

161161
lob.pipe(outStream);
@@ -197,7 +197,7 @@ describe('41. dataTypeBlob', function() {
197197
should.exist(lob);
198198

199199
lob.on('error', function(err) {
200-
should.not.exist(err, "lob.on 'end' event");
200+
should.not.exist(err, "lob.on 'error' event");
201201
});
202202

203203
lob.on('data', function(chunk) {

test/dataTypeClob.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ describe('40. dataTypeClob.js', function() {
117117
});
118118

119119
inStream.on('error', function(err) {
120-
should.not.exist(err, "inStream.on 'end' event");
120+
should.not.exist(err, "inStream.on 'error' event");
121121
});
122122

123123
inStream.on('end', function() {
@@ -149,12 +149,12 @@ describe('40. dataTypeClob.js', function() {
149149
lob.setEncoding('utf8');
150150

151151
lob.on('error', function(err) {
152-
should.not.exist(err, "lob.on 'end' event");
152+
should.not.exist(err, "lob.on 'error' event");
153153
});
154154

155155
var outStream = fs.createWriteStream(outFileName);
156156
outStream.on('error', function(err) {
157-
should.not.exist(err, "outStream.on 'end' event");
157+
should.not.exist(err, "outStream.on 'error' event");
158158
});
159159

160160
lob.pipe(outStream);
@@ -213,7 +213,7 @@ describe('40. dataTypeClob.js', function() {
213213
});
214214

215215
lob.on('error', function(err) {
216-
should.not.exist(err, "lob.on 'end' event");
216+
should.not.exist(err, "lob.on 'error' event");
217217
});
218218
}
219219
);

test/list.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,6 @@
417417
56.3 FetchAs Oracledb property by-type
418418
56.4 FetchAs override oracledb by-type (for DATE) at execute time
419419

420-
57. nestedCursor.js
420+
57. nestedCursor.js
421421
57.1 testing nested cursor support - result set
422422
57.2 testing nested cursor support - REF Cursor

0 commit comments

Comments
 (0)