Skip to content

Commit

Permalink
Must've been a node version that caused the value to be utf8, it's no…
Browse files Browse the repository at this point in the history
…w null in CI too
  • Loading branch information
TheSpyder committed Mar 10, 2024
1 parent 3253390 commit a660689
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions test/atomic/Stream.test.res
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ zoraBlock("Stream.Readable", t => {
let stream = StreamTestLib.makeReadableEmpty()->Stream.onError(
err => {
t->equal(err, dummyError, "")
resolve(. ())
resolve()
},
)

Expand Down Expand Up @@ -86,18 +86,14 @@ 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
},
)
},
)
})
})

0 comments on commit a660689

Please sign in to comment.