Skip to content

Commit

Permalink
remove other bad stdout.empty that sometimes fail
Browse files Browse the repository at this point in the history
  • Loading branch information
joehand committed Jan 12, 2017
1 parent 6b26402 commit d7115b6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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()
Expand Down

0 comments on commit d7115b6

Please sign in to comment.