summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Somov <trophybase@gmail.com>2013-06-28 11:23:59 +0200
committerDave Cottlehuber <dch@apache.org>2013-06-28 11:27:24 +0200
commitba3adb11f4fc3c7aa215224779c1142dfb6b676d (patch)
tree458ef5830366a04c4d787ac83f4203524c5ef6d5
parentbc4120a730eb18d671882a7684dd5460799139ee (diff)
downloadcouchdb-ba3adb11f4fc3c7aa215224779c1142dfb6b676d.tar.gz
[tests] tidy up etap stream test output
Closes COUCHDB-1082.
-rwxr-xr-xtest/etap/050-stream.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/etap/050-stream.t b/test/etap/050-stream.t
index 676f1e42e..0251f002b 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),