Skip to content

Commit

Permalink
Fix missed condition check
Browse files Browse the repository at this point in the history
  • Loading branch information
dmbryson committed Jan 8, 2024
1 parent 58737eb commit 4438e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unittests/Core/SQLiteBuildDBTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ TEST(SQLiteBuildDBTest, LockedWhileBuilding) {
bool success = true;
otherBuildDB->getCurrentEpoch(&success, &error);
EXPECT_FALSE(success);
EXPECT_EQ(error, out.str());
EXPECT_TRUE(error.find("database is locked") != std::string::npos);

// Clean up database connections before unlinking
buildDB->buildComplete();
Expand Down

0 comments on commit 4438e23

Please sign in to comment.