Skip to content

Commit ce01bba

Browse files
committed
[js] Update test for node 6.9.x (where a number is a valid input as a file
descriptor)
1 parent 32c4ebf commit ce01bba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/node/selenium-webdriver/test/io_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ describe('io', function() {
307307
});
308308

309309
it('catches errors from invalid input', function() {
310-
return io.read(1234)
310+
return io.read({})
311311
.then(() => assert.fail('should have failed'),
312312
(e) => assert.ok(e instanceof TypeError));
313313
});

0 commit comments

Comments
 (0)