couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [06/15] git commit: Comment on the copied function definitions
Date Mon, 04 Aug 2014 18:06:44 GMT
Comment on the copied function definitions


Project: http://git-wip-us.apache.org/repos/asf/couchdb-b64url/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-b64url/commit/fc4df0d6
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-b64url/tree/fc4df0d6
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-b64url/diff/fc4df0d6

Branch: refs/heads/windsor-merge
Commit: fc4df0d693545966e56c118380d7c76fde595d0d
Parents: 9acc9d2
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
Authored: Thu Nov 21 13:40:40 2013 -0600
Committer: Paul J. Davis <paul.joseph.davis@gmail.com>
Committed: Thu Nov 21 13:40:40 2013 -0600

----------------------------------------------------------------------
 test/b64url_tests.erl | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-b64url/blob/fc4df0d6/test/b64url_tests.erl
----------------------------------------------------------------------
diff --git a/test/b64url_tests.erl b/test/b64url_tests.erl
index 5b01606..cac29f7 100644
--- a/test/b64url_tests.erl
+++ b/test/b64url_tests.erl
@@ -124,6 +124,12 @@ make_bad_len(Bin) when size(Bin) rem 4 == 0 ->
     <<"A", Bin/binary>>.
 
 
+% These functions are copy/pasted from couch_util to avoid
+% the direct dependency. The goal of this project is to replace
+% these in couch_util anyway so when that happens they'll only
+% exist here for these tests.
+
+
 couch_encode_base64url(Url) ->
     Url1 = iolist_to_binary(re:replace(base64:encode(Url), "=+$", "")),
     Url2 = iolist_to_binary(re:replace(Url1, "/", "_", [global])),


Mime
View raw message