Skip to content

Commit 499b5f3

Browse files
stephenpluspluscallmehiphop
authored andcommitted
tests: fix assert.throws() usage (#1468)
1 parent 672b91c commit 499b5f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/request.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1305,7 +1305,7 @@ describe('Request', function() {
13051305

13061306
assert.throws(function() {
13071307
request.request_({ method: 'runQuery' }, reqOpts, assert.ifError);
1308-
}, 'Read consistency cannot be specified in a transaction.');
1308+
}, /Read consistency cannot be specified in a transaction\./);
13091309
});
13101310
});
13111311
});

0 commit comments

Comments
 (0)