Skip to content

Commit 09e1858

Browse files
committed
CI seems to return utf8 for this test, even though it's null on my machine
1 parent b5a9ae2 commit 09e1858

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

lib/js/test/atomic/Stream.test.bs.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/atomic/Stream.test.res

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ zoraBlock("Stream.Readable", t => {
2626
let stream = StreamTestLib.makeReadableEmpty()->Stream.onError(
2727
err => {
2828
t->equal(err, dummyError, "")
29-
resolve(. ())
29+
resolve()
3030
},
3131
)
3232

@@ -86,9 +86,13 @@ zoraBlock("Stream.Writable", t => {
8686
Js.typeof(cb),
8787
))
8888
}
89-
t->equal(actual, Some(("Writable", "number", Js.null, "function")), "")
89+
t->equal(
90+
actual,
91+
Some(("Writable", "number", Js.Null.return(StringEncoding.utf8), "function")),
92+
"",
93+
)
9094

91-
resolve(. ())
95+
resolve()
9296
},
9397
(),
9498
)->ignore

0 commit comments

Comments
 (0)