diff options
Diffstat (limited to 'xdelta3/go/src/regtest.go')
-rw-r--r-- | xdelta3/go/src/regtest.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xdelta3/go/src/regtest.go b/xdelta3/go/src/regtest.go index 85bd43a..194761a 100644 --- a/xdelta3/go/src/regtest.go +++ b/xdelta3/go/src/regtest.go | |||
@@ -87,7 +87,7 @@ func offsetTest(r *xdelta.Runner, p *xdelta.Program, bufsize, offset, length int | |||
87 | // The decoder output ("read", above) is compared with the | 87 | // The decoder output ("read", above) is compared with the |
88 | // test-provided output ("write", below). The following | 88 | // test-provided output ("write", below). The following |
89 | // generates the input and output twice. | 89 | // generates the input and output twice. |
90 | t.WriteRstreams("encode", seed, offset, length, enc.Srcin, dec.Srcin) | 90 | t.WriteRstreams("encode", seed, offset, length, enc.Srcin, enc.Stdin) |
91 | t.WriteRstreams("decode", seed, offset, length, dec.Srcin, write) | 91 | t.WriteRstreams("decode", seed, offset, length, dec.Srcin, write) |
92 | t.Wait(g, enc, dec) | 92 | t.Wait(g, enc, dec) |
93 | } | 93 | } |