Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Unified Diff: ios/chrome/browser/web/navigation_manager_util_unittest.mm

Issue 2812223002: Fixed comments for GetLastCommittedNonRedirectedItem unit tests. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/browser/web/navigation_manager_util.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/web/navigation_manager_util_unittest.mm
diff --git a/ios/chrome/browser/web/navigation_manager_util_unittest.mm b/ios/chrome/browser/web/navigation_manager_util_unittest.mm
index 74ff9f3fce458e3f25e7a52326c71f8c929bac1f..8d7d0b7df8e573d370208184ba28eabd30b081e8 100644
--- a/ios/chrome/browser/web/navigation_manager_util_unittest.mm
+++ b/ios/chrome/browser/web/navigation_manager_util_unittest.mm
@@ -54,7 +54,7 @@ TEST_F(NavigationManagerUtilTest, TestLastNonRedirectedItemLinkMultiRedirects) {
item->GetTransitionType(), ui::PAGE_TRANSITION_LINK));
}
-// Tests that when all items are redirects, the first one is returned.
+// Tests that when all items are redirects, nullptr is returned.
TEST_F(NavigationManagerUtilTest, TestLastNonRedirectedItemAllRedirects) {
nav_manager_.AddItem(GURL("http://bar.com/redir0"),
ui::PAGE_TRANSITION_CLIENT_REDIRECT);
« no previous file with comments | « ios/chrome/browser/web/navigation_manager_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698