Fixed a signed-unsigned comparison error in db_test

Summary:
Fixed a signed-unsigned comparison error in db_test

Test Plan:
make db_test
This commit is contained in:
Yueh-Hsuan Chiang 2014-08-12 17:26:47 -07:00
parent 218857b3f5
commit 1562653ba0

View File

@ -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);
}
}