Skip to content

Commit 90e8c8c

Browse files
committed
test(errorCode): test for when code is 0
1 parent f4c9643 commit 90e8c8c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/ls.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ test('it\'s ok to use no arguments', t => {
4040
const result = shell.ls();
4141
t.falsy(shell.error());
4242
t.is(result.code, 0);
43+
t.is(shell.errorCode(), 0);
4344
});
4445

4546
test('root directory', t => {

0 commit comments

Comments
 (0)