Index: chrome_frame/test/navigation_test.cc |
=================================================================== |
--- chrome_frame/test/navigation_test.cc (revision 66158) |
+++ chrome_frame/test/navigation_test.cc (working copy) |
@@ -301,8 +301,8 @@ |
win_observer_mock.WatchWindow(kAlertDlgCaption, ""); |
EXPECT_CALL(ie_mock_, OnBeforeNavigate2(_, testing::Field(&VARIANT::bstrVal, |
- testing::StrCaseEq(GetSimplePageUrl())), _, _, _, _, _)) |
- .Times(1); |
+ testing::HasSubstr(GetSimplePageUrl())), _, _, _, _, _)) |
+ .Times(testing::AtMost(2)); |
EXPECT_CALL(ie_mock_, OnNavigateComplete2(_, |
testing::Field(&VARIANT::bstrVal, StrEq(GetSimplePageUrl())))) |