You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by dc...@apache.org on 2013/06/28 11:26:33 UTC

git commit: updated refs/heads/1.3.x to b68abf9

Updated Branches:
  refs/heads/1.3.x 5f4a26ae1 -> b68abf9c6


[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/b68abf9c
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/b68abf9c
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/b68abf9c

Branch: refs/heads/1.3.x
Commit: b68abf9c6f61991cdccabed04b48a7df70775983
Parents: 5f4a26a
Author: Andrey Somov <tr...@gmail.com>
Authored: Fri Jun 28 11:23:59 2013 +0200
Committer: Dave Cottlehuber <dc...@apache.org>
Committed: Fri Jun 28 11:23:59 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/b68abf9c/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),