summaryrefslogtreecommitdiff
path: root/util/hash_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'util/hash_test.cc')
-rw-r--r--util/hash_test.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/util/hash_test.cc b/util/hash_test.cc
index 21f8171..0ea5977 100644
--- a/util/hash_test.cc
+++ b/util/hash_test.cc
@@ -3,11 +3,10 @@
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#include "util/hash.h"
-#include "util/testharness.h"
-namespace leveldb {
+#include "gtest/gtest.h"
-class HASH {};
+namespace leveldb {
TEST(HASH, SignedUnsignedIssue) {
const uint8_t data1[1] = {0x62};
@@ -40,5 +39,3 @@ TEST(HASH, SignedUnsignedIssue) {
}
} // namespace leveldb
-
-int main(int argc, char** argv) { return leveldb::test::RunAllTests(); }