Skip to content

Commit b24b138

Browse files
author
Aschen
committed
fix tests
1 parent 609f89c commit b24b138

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/protocol/Base.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ describe('Common Protocol', () => {
187187
should(error.status).be.eql(442);
188188
should(error.stack).match(/you are the bug/);
189189
should(error.stack).match(/KuzzleAbstractProtocol/);
190-
should(error.stack).match(/> at Context.<anonymous>/);
190+
should(error.stack).match(/>\s{4}at Context.<anonymous>/);
191191
});
192192
});
193193

@@ -214,7 +214,7 @@ describe('Common Protocol', () => {
214214
should(error.status).be.eql(206);
215215
should(error.stack).match(/you are the bug/);
216216
should(error.stack).match(/KuzzleAbstractProtocol/);
217-
should(error.stack).match(/> at Context.<anonymous>/);
217+
should(error.stack).match(/>\s{4}at Context.<anonymous>/);
218218
should(error.errors).be.an.Array();
219219
should(error.errors.length).eql(2);
220220
should(error.count).eql(42);

0 commit comments

Comments
 (0)