diff --git a/src/close-test.js b/src/close-test.js index fab1114..a8747c5 100644 --- a/src/close-test.js +++ b/src/close-test.js @@ -18,7 +18,7 @@ function closeAndWait (stream, callback) { pull( pull.empty(), stream, - pull.onEnd(() => callback()) + pull.onEnd(callback) ) }