Skip to content

Commit

Permalink
Merge pull request XRPLF#321 from eonnen/master
Browse files Browse the repository at this point in the history
Make test use a compatible type in the size checks.
  • Loading branch information
igorcanadi committed Sep 29, 2014
2 parents fd5d80d + 827e31c commit 637f891
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 @@ -1349,8 +1349,8 @@ TEST(DBTest, CompactedDB) {
std::vector<Slice>({Slice("aaa"), Slice("ccc"), Slice("eee"),
Slice("ggg"), Slice("iii"), Slice("kkk")}),
&values);
ASSERT_EQ(status_list.size(), 6);
ASSERT_EQ(values.size(), 6);
ASSERT_EQ(status_list.size(), static_cast<uint64_t>(6));
ASSERT_EQ(values.size(), static_cast<uint64_t>(6));
ASSERT_OK(status_list[0]);
ASSERT_EQ(DummyString(kFileSize / 2, 'a'), values[0]);
ASSERT_TRUE(status_list[1].IsNotFound());
Expand Down

0 comments on commit 637f891

Please sign in to comment.