Skip to content

Commit

Permalink
fix typo in TestMultiWriterSingleChainFlatten
Browse files Browse the repository at this point in the history
Compare between `TestMultiReaderFlatten` and `TestMultiWriterSingleChainFlatten`, I guess that it should be `mw` instead of `w`.
  • Loading branch information
kibaamor committed Sep 23, 2022
1 parent 2f30083 commit 3017466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/multi_test.go
Expand Up @@ -188,7 +188,7 @@ func TestMultiWriterSingleChainFlatten(t *testing.T) {
mw := w
// chain a bunch of multiWriters
for i := 0; i < 100; i++ {
mw = MultiWriter(w)
mw = MultiWriter(mw)
}

mw = MultiWriter(w, mw, w, mw)
Expand Down

0 comments on commit 3017466

Please sign in to comment.