Skip to content

Commit c900b67

Browse files
committed
Fix remove final whitespace
1 parent 6f28c02 commit c900b67

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/helpers/run-k-in-javascript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function k() {
1212
args.push(arguments[i]);
1313
}
1414

15-
return execa('eval', args, {shell: '/bin/zsh'}).then(({stdout}) => stdout);
15+
return execa('eval', args, {shell: '/bin/zsh'}).then(({stdout}) => stdout.trim());
1616
}
1717

1818
k.stripColors = str => stripAnsi(str);

test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ test('File and directory types', async t => {
1313
t.is(lines[7], 'drwxr-xr-x 2 supercrabtree staff 68 24 Jan 2016 | nested-dir');
1414
t.is(lines[8], '-rw-r--r-- 1 supercrabtree staff 12 24 Jan 2016 | string.txt');
1515
t.is(lines[9], 'drwxrwxrwt 2 supercrabtree staff 68 10 Feb 20:50 | wto-with-sticky');
16-
t.is(lines[10], 'drwxrwxrwx 2 supercrabtree staff 68 10 Feb 20:50 | wto-without-sticky ');
16+
t.is(lines[10], 'drwxrwxrwx 2 supercrabtree staff 68 10 Feb 20:50 | wto-without-sticky');
1717
});

0 commit comments

Comments
 (0)