| Index: components/dom_distiller/content/distiller_page_web_contents_browsertest.cc
|
| diff --git a/components/dom_distiller/content/distiller_page_web_contents_browsertest.cc b/components/dom_distiller/content/distiller_page_web_contents_browsertest.cc
|
| index 697079864c715ee43bcd47dd2e4ad9e095b73848..2aa7f0ea62b7fde70bda9dfd964cd10a89fa3e0e 100644
|
| --- a/components/dom_distiller/content/distiller_page_web_contents_browsertest.cc
|
| +++ b/components/dom_distiller/content/distiller_page_web_contents_browsertest.cc
|
| @@ -121,7 +121,7 @@ IN_PROC_BROWSER_TEST_F(DistillerPageWebContentsTest, HandlesRelativeLinks) {
|
| result_list->GetString(1, &html);
|
| // A relative link should've been updated.
|
| EXPECT_THAT(html,
|
| - ContainsRegex("href=\"http://127.0.0.1:[0-9]*/relativelink.html\""));
|
| + ContainsRegex("href=\"http://127.0.0.1:.*/relativelink.html\""));
|
| EXPECT_THAT(html,
|
| HasSubstr("href=\"http://www.google.com/absolutelink.html\""));
|
| }
|
| @@ -143,7 +143,7 @@ IN_PROC_BROWSER_TEST_F(DistillerPageWebContentsTest, HandlesRelativeImages) {
|
| result_list->GetString(1, &html);
|
| // A relative link should've been updated.
|
| EXPECT_THAT(html,
|
| - ContainsRegex("src=\"http://127.0.0.1:[0-9]*/relativeimage.png\""));
|
| + ContainsRegex("src=\"http://127.0.0.1:.*/relativeimage.png\""));
|
| EXPECT_THAT(html,
|
| HasSubstr("src=\"http://www.google.com/absoluteimage.png\""));
|
| }
|
|
|