diff --git a/test/atomic/Stream.test.res b/test/atomic/Stream.test.res index f7ab605..c614efc 100644 --- a/test/atomic/Stream.test.res +++ b/test/atomic/Stream.test.res @@ -26,7 +26,7 @@ zoraBlock("Stream.Readable", t => { let stream = StreamTestLib.makeReadableEmpty()->Stream.onError( err => { t->equal(err, dummyError, "") - resolve(. ()) + resolve() }, ) @@ -86,13 +86,9 @@ zoraBlock("Stream.Writable", t => { Js.typeof(cb), )) } - t->equal( - actual, - Some(("Writable", "number", Js.Null.return(StringEncoding.utf8), "function")), - "", - ) + t->equal(actual, Some(("Writable", "number", Js.null, "function")), "") - resolve(. ()) + resolve() }, (), )->ignore @@ -100,4 +96,4 @@ zoraBlock("Stream.Writable", t => { ) }, ) -}) +}) \ No newline at end of file