Skip to content

Commit

Permalink
Fixed a signed-unsigned comparison error in db_test
Browse files Browse the repository at this point in the history
Summary:
Fixed a signed-unsigned comparison error in db_test

Test Plan:
make db_test
  • Loading branch information
yhchiang committed Aug 13, 2014
1 parent 218857b commit 1562653
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/db_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 1562653

Please sign in to comment.