summaryrefslogtreecommitdiff
path: root/util/logging_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'util/logging_test.cc')
-rw-r--r--util/logging_test.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/util/logging_test.cc b/util/logging_test.cc
index 389cbeb..1746c57 100644
--- a/util/logging_test.cc
+++ b/util/logging_test.cc
@@ -2,17 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
+#include "util/logging.h"
+
#include <limits>
#include <string>
+#include "gtest/gtest.h"
#include "leveldb/slice.h"
-#include "util/logging.h"
-#include "util/testharness.h"
namespace leveldb {
-class Logging {};
-
TEST(Logging, NumberToString) {
ASSERT_EQ("0", NumberToString(0));
ASSERT_EQ("1", NumberToString(1));
@@ -139,5 +138,3 @@ TEST(Logging, ConsumeDecimalNumberNoDigits) {
}
} // namespace leveldb
-
-int main(int argc, char** argv) { return leveldb::test::RunAllTests(); }