Skip to content

Commit 12f65e2

Browse files
committed
compiler/natives/src/io: Skip TestMultiWriterSingleChainFlatten.
TestMultiWriterSingleChainFlatten was added in Go 1.10, and it needs to be skipped (just like TestMultiReaderFlatten) because it relies on unsupported runtime features. Related to golang/go@060d1a5. Fixes: === RUN TestMultiWriterSingleChainFlatten --- FAIL: TestMultiWriterSingleChainFlatten (0.01s) test.558082205:38: multiWriter did not flatten chained multiWriters: expected writeDepth 12, got 4 FAIL io 0.888s
1 parent 446447a commit 12f65e2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

compiler/natives/src/io/io_test.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ func TestMultiWriter_WriteStringSingleAlloc(t *testing.T) {
1111
}
1212

1313
func TestMultiReaderFlatten(t *testing.T) {
14-
t.Skip()
14+
t.Skip("test relies on runtime.Callers and runtime.CallersFrames, which GopherJS doesn't support")
15+
}
16+
17+
func TestMultiWriterSingleChainFlatten(t *testing.T) {
18+
t.Skip("test relies on runtime.Callers and runtime.CallersFrames, which GopherJS doesn't support")
1519
}
1620

1721
func TestMultiReaderFreesExhaustedReaders(t *testing.T) {

0 commit comments

Comments
 (0)