Fixed a signed-unsigned comparison error in db_test

Summary:
Fixed a signed-unsigned comparison error in db_test

Test Plan:
make db_test
main
Yueh-Hsuan Chiang 10 years ago
parent 218857b3f5
commit 1562653ba0
  1. 4
      db/db_test.cc

@ -5939,10 +5939,10 @@ TEST(DBTest, FlushOneColumnFamily) {
ASSERT_OK(Put(6, "alyosha", "alyosha"));
ASSERT_OK(Put(7, "popovich", "popovich"));
for (int i = 0; i < 8; ++i) {
for (size_t i = 0; i < 8; ++i) {
Flush(i);
auto tables = ListTableFiles(env_, dbname_);
ASSERT_EQ(tables.size(), i + 1);
ASSERT_EQ(tables.size(), i + 1U);
}
}

Loading…
Cancel
Save