summaryrefslogtreecommitdiff
path: root/util/coding_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'util/coding_test.cc')
-rw-r--r--util/coding_test.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/util/coding_test.cc b/util/coding_test.cc
index 0d2a0c5..cceda14 100644
--- a/util/coding_test.cc
+++ b/util/coding_test.cc
@@ -2,15 +2,14 @@
// 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/coding.h"
+
#include <vector>
-#include "util/coding.h"
-#include "util/testharness.h"
+#include "gtest/gtest.h"
namespace leveldb {
-class Coding {};
-
TEST(Coding, Fixed32) {
std::string s;
for (uint32_t v = 0; v < 100000; v++) {
@@ -192,5 +191,3 @@ TEST(Coding, Strings) {
}
} // namespace leveldb
-
-int main(int argc, char** argv) { return leveldb::test::RunAllTests(); }