Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F303218A0E for ; Tue, 25 Aug 2015 09:01:47 +0000 (UTC) Received: (qmail 37231 invoked by uid 500); 25 Aug 2015 09:01:47 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 37189 invoked by uid 500); 25 Aug 2015 09:01:47 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 37180 invoked by uid 99); 25 Aug 2015 09:01:47 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Aug 2015 09:01:47 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id B9405DFC7F; Tue, 25 Aug 2015 09:01:47 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: kxepal@apache.org To: commits@couchdb.apache.org Message-Id: <17160f3cb052404e9ca36b96d33d2670@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: chttpd commit: updated refs/heads/master to 02d0b41 Date: Tue, 25 Aug 2015 09:01:47 +0000 (UTC) Repository: couchdb-chttpd Updated Branches: refs/heads/master ee7785b33 -> 02d0b414a There is no binary_to_integer/1 in R14 Project: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/commit/02d0b414 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/tree/02d0b414 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/diff/02d0b414 Branch: refs/heads/master Commit: 02d0b414a4559a44fb4d503f301f2ff2705b4579 Parents: ee7785b Author: Alexander Shorin Authored: Tue Aug 25 11:47:45 2015 +0300 Committer: Alexander Shorin Committed: Tue Aug 25 11:47:45 2015 +0300 ---------------------------------------------------------------------- test/chttpd_db_test.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/02d0b414/test/chttpd_db_test.erl ---------------------------------------------------------------------- diff --git a/test/chttpd_db_test.erl b/test/chttpd_db_test.erl index 95bbd93..5bcb78d 100644 --- a/test/chttpd_db_test.erl +++ b/test/chttpd_db_test.erl @@ -78,14 +78,14 @@ should_accept_live_as_an_alias_for_continuous(Url) -> {ResultJson} = ?JSON_DECODE(ResultBody), <> = couch_util:get_value( <<"last_seq">>, ResultJson, undefined), - LastSeqNum = binary_to_integer(LastSeqNum0), + LastSeqNum = list_to_integer(binary_to_list(LastSeqNum0)), {ok, _, _, _} = create_doc(Url, "testdoc2"), {ok, _, _, ResultBody2} = test_request:get(Url ++ "/_changes?feed=live&timeout=1"), [_, CleanedResult] = binary:split(ResultBody2, <<"\n">>), {[{_, Seq}, _]} = ?JSON_DECODE(CleanedResult), <> = Seq, - SeqNum = binary_to_integer(SeqNum0), + SeqNum = list_to_integer(binary_to_list(SeqNum0)), ?assertEqual(LastSeqNum + 1, SeqNum) end).