summaryrefslogtreecommitdiff
path: root/util/crc32c_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'util/crc32c_test.cc')
-rw-r--r--util/crc32c_test.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/util/crc32c_test.cc b/util/crc32c_test.cc
index 18a8494..2fe1c41 100644
--- a/util/crc32c_test.cc
+++ b/util/crc32c_test.cc
@@ -3,13 +3,12 @@
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#include "util/crc32c.h"
-#include "util/testharness.h"
+
+#include "gtest/gtest.h"
namespace leveldb {
namespace crc32c {
-class CRC {};
-
TEST(CRC, StandardResults) {
// From rfc3720 section B.4.
char buf[32];
@@ -55,5 +54,3 @@ TEST(CRC, Mask) {
} // namespace crc32c
} // namespace leveldb
-
-int main(int argc, char** argv) { return leveldb::test::RunAllTests(); }