You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zg...@apache.org on 2019/04/10 13:49:04 UTC

[hbase] 92/137: HBASE-18126 Increment class - addendum creates TestToStringToInt64 in bytes-util-test

This is an automated email from the ASF dual-hosted git repository.

zghao pushed a commit to branch hbase-native-client
in repository https://gitbox.apache.org/repos/asf/hbase.git

commit 39f4b71b2167375ecc2f6b9d934adbd5b0e79355
Author: tedyu <yu...@gmail.com>
AuthorDate: Tue Jun 6 11:32:36 2017 -0700

    HBASE-18126 Increment class - addendum creates TestToStringToInt64 in bytes-util-test
---
 utils/bytes-util-test.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/utils/bytes-util-test.cc b/utils/bytes-util-test.cc
index 676b441..ca64a21 100644
--- a/utils/bytes-util-test.cc
+++ b/utils/bytes-util-test.cc
@@ -46,7 +46,8 @@ TEST(TestBytesUtil, TestToStringBinary) {
 
   EXPECT_EQ("foo_\\x00\\xFF_bar",
             BytesUtil::ToStringBinary("foo_" + std::string{zero} + std::string{max} + "_bar"));
-
+}
+TEST(TestBytesUtil, TestToStringToInt64) {
   int64_t num = 761235;
   EXPECT_EQ(num, BytesUtil::ToInt64(BytesUtil::ToString(num)));