Index: ios/web_view/test/chrome_web_view_restorable_state_inttest.mm |
diff --git a/ios/web_view/test/chrome_web_view_restorable_state_inttest.mm b/ios/web_view/test/chrome_web_view_restorable_state_inttest.mm |
index 47af93fb0388f37c839bef4bdaeb0b21a64d15c0..0c682e06a9a7b7a80fa4a1981e6c1d94fa0c2728 100644 |
--- a/ios/web_view/test/chrome_web_view_restorable_state_inttest.mm |
+++ b/ios/web_view/test/chrome_web_view_restorable_state_inttest.mm |
@@ -41,10 +41,10 @@ TEST_F(ChromeWebViewRestorableStateTest, EncodeDecode) { |
ASSERT_FALSE([web_view_ visibleURL]); |
ASSERT_FALSE([web_view_ canGoBack]); |
ASSERT_FALSE([web_view_ canGoForward]); |
- LoadUrl(web_view_, [NSURL URLWithString:@"about:newtab"]); |
+ ASSERT_TRUE(test::LoadUrl(web_view_, [NSURL URLWithString:@"about:newtab"])); |
ASSERT_NSEQ(@"about:newtab", [web_view_ lastCommittedURL].absoluteString); |
ASSERT_NSEQ(@"about:newtab", [web_view_ visibleURL].absoluteString); |
- LoadUrl(web_view_, [NSURL URLWithString:@"about:blank"]); |
+ ASSERT_TRUE(test::LoadUrl(web_view_, [NSURL URLWithString:@"about:blank"])); |
ASSERT_NSEQ(@"about:blank", [web_view_ lastCommittedURL].absoluteString); |
ASSERT_NSEQ(@"about:blank", [web_view_ visibleURL].absoluteString); |
ASSERT_TRUE([web_view_ canGoBack]); |