Skip to content

Commit 6a6dc04

Browse files
committed
Fix tests for Node@0.11
1 parent 261954c commit 6a6dc04

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/configuration-presets.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,15 @@ test('configuration-presets', function (t) {
3838
rcName: '.foorc',
3939
extensions: ['txt']
4040
}, function (err, code) {
41-
var out = stderr().split('\n').slice(0, 3).join('\n');
41+
var out = stderr().split('\n').slice(0, 2).join('\n');
4242

4343
st.deepEqual(
4444
[err, code, out],
4545
[
4646
null,
4747
1,
4848
'nested/two.txt\n' +
49-
' 1:1 error Error: Cannot read configuration file: ./preset\n' +
50-
'ENOENT: no such file or directory, open \'./preset\''
49+
' 1:1 error Error: Cannot read configuration file: ./preset'
5150
],
5251
'should fail'
5352
);

0 commit comments

Comments
 (0)