From d7115b6e9d0e76d9ec82ace12bc15ae594148077 Mon Sep 17 00:00:00 2001 From: Joe Hand Date: Thu, 12 Jan 2017 11:22:28 -0800 Subject: [PATCH] remove other bad stdout.empty that sometimes fail --- tests/create.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/create.js b/tests/create.js index 7679cc8..7a62f6d 100644 --- a/tests/create.js +++ b/tests/create.js @@ -49,7 +49,6 @@ test('create - errors on existing archive', function (t) { var cmd = dat + ' create' var st = spawn(t, cmd, {cwd: fixtures}) - st.stdout.empty() st.stderr.match(function (output) { t.ok(output.indexOf('cannot overwrite') > -1, 'cannot overwrite error') st.kill() @@ -63,7 +62,6 @@ test('pull - pull fails on created archive', function (t) { var cmd = dat + ' pull' var st = spawn(t, cmd, {cwd: fixtures}) - st.stdout.empty() st.stderr.match(function (output) { t.ok(output.indexOf('Cannot pull an archive that you own.') > -1, 'cannot pull on create error') st.kill()