summaryrefslogtreecommitdiff
path: root/util/crc32c_test.cc
diff options
context:
space:
mode:
authorVictor Costan <costan@google.com>2022-01-09 23:08:24 -0800
committerGitHub <noreply@github.com>2022-01-09 23:08:24 -0800
commit3180f9cb402f51ce89be7011b103747bc6462976 (patch)
tree9671501a3176d0f9fc58284b6455a36b4f4986b1 /util/crc32c_test.cc
parentf933ad16934098460622bbc62d17761802486393 (diff)
parent8ccb79b57e877cb28b751d74e3e50bb4f8184997 (diff)
downloadleveldb-3180f9cb402f51ce89be7011b103747bc6462976.tar.gz
Merge branch 'master' into patch-1
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(); }