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

Unified Diff: chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc

Issue 2909523003: [Extensions Bindings] Update declarativeContent CSS validation test (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc
diff --git a/chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc b/chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc
index 4030d5f26c60aa5d4bac56c93c8dcd7b853fab0b..7077fa49c709ebb732e8df5fcb0f7a8bbad62397 100644
--- a/chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc
+++ b/chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc
@@ -790,7 +790,7 @@ IN_PROC_BROWSER_TEST_F(DeclarativeContentApiTest,
"} catch (e) {\n"
" Return(e.message);\n"
"}\n"),
- testing::ContainsRegex("css.*Expected 'array'"));
+ testing::ContainsRegex("css.*xpected '?array'?"));
EXPECT_THAT(ExecuteScriptInBackgroundPage(
extension->id(),
"try {\n"
@@ -799,7 +799,7 @@ IN_PROC_BROWSER_TEST_F(DeclarativeContentApiTest,
"} catch (e) {\n"
" Return(e.message);\n"
"}\n"),
- testing::ContainsRegex("css\\.0.*Expected 'string'"));
+ testing::ContainsRegex("css.*0.*xpected '?string'?"));
EXPECT_THAT(ExecuteScriptInBackgroundPage(
extension->id(),
"try {\n"
@@ -819,7 +819,7 @@ IN_PROC_BROWSER_TEST_F(DeclarativeContentApiTest,
"} catch (e) {\n"
" Return(e.message);\n"
"}\n"),
- testing::ContainsRegex("compound selector.*: div input$"));
+ testing::ContainsRegex("selector.*: div input$"));
}
// Tests that the rules with isBookmarked: true are evaluated when handling
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698