From 320379bdb5ebdbc1d774141467ec30cf14c27681 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20Unneb=C3=A4ck?= Date: Sat, 25 Apr 2020 10:37:30 +0100 Subject: [PATCH] Use object shorthand for properties --- test/client/tape-helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/client/tape-helper.js b/test/client/tape-helper.js index 646c771..6ec7ef1 100644 --- a/test/client/tape-helper.js +++ b/test/client/tape-helper.js @@ -10,7 +10,7 @@ test.createStream().on('data', function (log) { con.write(JSON.stringify({ op: 'log', log: log.toString() }) + '\n') success = log === '\n# ok\n' }).on('end', function () { - con.write(JSON.stringify({ op: 'end', success: success }) + '\n') + con.write(JSON.stringify({ op: 'end', success }) + '\n') con.end() })