Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Prev Previous commit
Next Next commit
Format
  • Loading branch information
stuartmorgan-g committed Jul 14, 2021
commit ce8bb54d7bba50a11ed419c317ebc580fae28303
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ TEST(UrlLauncherPlugin, CanLaunchHandlesOpenFailure) {
std::make_unique<MockMethodResult>();

// Return failure for opening.
EXPECT_CALL(*system, RegOpenKeyExW)
.WillOnce(Return(ERROR_BAD_PATHNAME));
EXPECT_CALL(*system, RegOpenKeyExW).WillOnce(Return(ERROR_BAD_PATHNAME));
// Expect a success response.
EXPECT_CALL(*result, SuccessInternal(Pointee(EncodableValue(false))));

Expand Down