Skip to content

Commit 12caa9c

Browse files
committed
Update driver name test
1 parent b1342c7 commit 12caa9c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

test/driverName.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ describe('69. driverName.js', function() {
8080
// 12c database can return the full driver name, e.g. 'node-oracledb 1.11'
8181
if(dbVerMajor == 12) {
8282
var addonVer = getAddonVer();
83-
(result.rows[0][0]).should.equal("node-oracledb : " + addonVer);
83+
(result.rows[0][0].trim()).should.equal("node-oracledb : " + addonVer);
8484
}
8585
// 11g database only returns the first 8 characters of the driver name
8686
else if(dbVerMajor == 11) {

test/list.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -830,3 +830,6 @@ Overview of node-oracledb functional tests
830830
68. multipleLobInsertion.js
831831
68.1 inserts multiple BLOBs
832832
68.2 inserts multiple CLOBs
833+
834+
69. driverName.js
835+
69.1 checks the driver name

0 commit comments

Comments
 (0)