[tests] tidy up etap stream test output Closes COUCHDB-1082.
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/ba3adb11 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/ba3adb11 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/ba3adb11 Branch: refs/heads/1828-duplicate-doc Commit: ba3adb11f4fc3c7aa215224779c1142dfb6b676d Parents: bc4120a Author: Andrey Somov <[email protected]> Authored: Fri Jun 28 11:23:59 2013 +0200 Committer: Dave Cottlehuber <[email protected]> Committed: Fri Jun 28 11:27:24 2013 +0200 ---------------------------------------------------------------------- test/etap/050-stream.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/ba3adb11/test/etap/050-stream.t ---------------------------------------------------------------------- diff --git a/test/etap/050-stream.t b/test/etap/050-stream.t index 676f1e4..0251f00 100755 --- a/test/etap/050-stream.t +++ b/test/etap/050-stream.t @@ -47,12 +47,12 @@ test() -> etap:is(Length, 8, "Close also returns the number of bytes written."), etap:is(<<"foodfoob">>, read_all(Fd, Ptrs), "Returned pointers are valid."), - % Remeber where we expect the pointer to be. + % Remember where we expect the pointer to be. {ok, ExpPtr} = couch_file:bytes(Fd), {ok, Stream2} = couch_stream:open(Fd), OneBits = <<1:(8*10)>>, etap:is(ok, couch_stream:write(Stream2, OneBits), - "Successfully wrote 80 1 bits."), + "Successfully wrote 79 zero bits and 1 one bit."), ZeroBits = <<0:(8*10)>>, etap:is(ok, couch_stream:write(Stream2, ZeroBits),
