diff options
author | Joshua MacDonald <josh.macdonald@gmail.com> | 2015-11-30 22:44:31 -0800 |
---|---|---|
committer | Joshua MacDonald <josh.macdonald@gmail.com> | 2015-11-30 22:44:31 -0800 |
commit | fe97307cf9257460d4d9b076a00752e4e60121ba (patch) | |
tree | be1a660f15e2ffe5c9372d4e0b9da4fe4328dd1e /xdelta3/go/src/regtest.go | |
parent | bdcbbc839ca7fd3e8edd1617bbf9bfdba4bf543d (diff) |
Fix typo
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 | } |