Skip to content

Commit 59d029e

Browse files
committed
made test more comprehensive
1 parent a2c79a3 commit 59d029e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test-python-shell.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ describe('PythonShell', function () {
364364
pyshell.on('message', function (message) {
365365
message.should.be.an.Object;
366366
message.should.eql({ a: true });
367-
}).receive('{"a"').receive(':').receive('true}' + newline + '').end(done);
367+
}).receive('{"a"').receive(':').receive('true}' + newline + '{').receive('"a":true}' + newline).end(done);
368368
});
369369
it('should not be invoked when mode is "binary"', function (done) {
370370
let pyshell = new PythonShell('echo_args.py', {

0 commit comments

Comments
 (0)