Skip to content

Commit

Permalink
make format
Browse files Browse the repository at this point in the history
  • Loading branch information
chuhao zeng committed Dec 16, 2023
1 parent a294adf commit 1dcb1bd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tools/ldb_cmd_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1213,7 +1213,8 @@ class MyComparator : public rocksdb::Comparator {
return a.compare(b);
}
void FindShortSuccessor(std::string* /*key*/) const override {}
void FindShortestSeparator(std::string* /*start*/, const Slice& /*limit*/) const override {}
void FindShortestSeparator(std::string* /*start*/,
const Slice& /*limit*/) const override {}
const char* Name() const override { return "my_comparator"; }
};

Expand Down Expand Up @@ -1245,8 +1246,8 @@ TEST_F(LdbCmdTest, CustomComparator) {
char arg4[] = "k1";
char* argv[] = {arg1, const_cast<char*>(arg2.c_str()), arg3, arg4};

ASSERT_EQ(0, LDBCommandRunner::RunCommand(4, argv, opts, LDBOptions(), nullptr));
}
ASSERT_EQ(0,
LDBCommandRunner::RunCommand(4, argv, opts, LDBOptions(), nullptr));}

} // namespace ROCKSDB_NAMESPACE

Expand Down

0 comments on commit 1dcb1bd

Please sign in to comment.