mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Fix failing masterlist update test
For some reason this test started failing, it was relying on the standard library implementation, so perhaps it was a MSVC update that did it.
This commit is contained in:
@@ -235,7 +235,7 @@ TEST_P(DatabaseInterfaceTest, writeUserMetadataShouldShouldWriteUserMetadata) {
|
||||
|
||||
TEST_P(DatabaseInterfaceTest,
|
||||
updateMasterlistShouldThrowIfTheMasterlistPathGivenIsInvalid) {
|
||||
EXPECT_THROW(db_->UpdateMasterlist(";//\?", url_, branch_), std::exception);
|
||||
EXPECT_THROW(db_->UpdateMasterlist("//\?", url_, branch_), std::exception);
|
||||
}
|
||||
|
||||
TEST_P(DatabaseInterfaceTest,
|
||||
|
||||
@@ -82,7 +82,7 @@ INSTANTIATE_TEST_CASE_P(,
|
||||
TEST_P(MasterlistTest, updateShouldThrowIfAnInvalidPathIsGiven) {
|
||||
Masterlist masterlist;
|
||||
|
||||
EXPECT_THROW(masterlist.Update(";//\?", repoUrl, repoBranch),
|
||||
EXPECT_THROW(masterlist.Update("//\?", repoUrl, repoBranch),
|
||||
std::system_error);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user