Skip to content

Commit

Permalink
Fix a minor issue in checkpoint test case (facebook#8483)
Browse files Browse the repository at this point in the history
Summary:
A very simple change :)

Pull Request resolved: facebook#8483

Reviewed By: ajkr

Differential Revision: D29558904

Pulled By: mrambacher

fbshipit-source-id: bbe68c20c861103726cb6231ca3fb8fbe1e5a546
  • Loading branch information
caipengbo authored and facebook-github-bot committed Jul 12, 2021
1 parent c866561 commit bbdc4f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utilities/checkpoint/checkpoint_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,8 @@ TEST_F(CheckpointTest, CheckpointInvalidDirectoryName) {
for (std::string checkpoint_dir : {"", "/", "////"}) {
Checkpoint* checkpoint;
ASSERT_OK(Checkpoint::Create(db_, &checkpoint));
ASSERT_TRUE(checkpoint->CreateCheckpoint("").IsInvalidArgument());
ASSERT_TRUE(
checkpoint->CreateCheckpoint(checkpoint_dir).IsInvalidArgument());
delete checkpoint;
}
}
Expand Down

0 comments on commit bbdc4f2

Please sign in to comment.