Skip to content

Commit e1b9cb0

Browse files
committed
Fix test/async/zero-length.wast and remove TODO
1 parent 67d9add commit e1b9cb0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/async/partial-stream-copies.wast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
(then unreachable))
199199
(if (i32.ne (local.get $index) (local.get $insw))
200200
(then unreachable))
201-
(if (i32.ne (local.get $payload) (i32.const 0xc1 (; CLOSED=1 | (12 << 4) ;) (; TODO: currently returns 0xc0 ;)))
201+
(if (i32.ne (local.get $payload) (i32.const 0xc1 (; CLOSED=1 | (12 << 4) ;)))
202202
(then unreachable))
203203

204204
(call $stream.close-writable (local.get $insw))

test/async/zero-length.wast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
;; the second call to produce_cb:
7979
(if (i32.eq (global.get $state) (i32.const 1)) (then
8080
;; confirm we're seeing the non-zero-length write complete
81-
(if (i32.ne (local.get $payload) (i32.const 0x40 (; COMPLETED=0 | (4 << 4) ;)))
81+
(if (i32.ne (local.get $payload) (i32.const 0x41 (; CLOSED=1 | (4 << 4) ;)))
8282
(then unreachable))
8383

8484
(call $stream.close-writable (global.get $outsw))

0 commit comments

Comments
 (0)