From 0df0ca3961be64dfafe56364546ec94810c6441f Mon Sep 17 00:00:00 2001 From: Marcos Caceres Date: Fri, 16 Jun 2017 15:45:37 +1000 Subject: [PATCH] tests(w3c/headers): match icon URLs that start with --- tests/spec/w3c/headers-spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/spec/w3c/headers-spec.js b/tests/spec/w3c/headers-spec.js index ad152b2bb0..c8e56d2197 100644 --- a/tests/spec/w3c/headers-spec.js +++ b/tests/spec/w3c/headers-spec.js @@ -732,7 +732,7 @@ describe("W3C — Headers", function() { Object.assign(ops.config, newProps); makeRSDoc(ops, function(doc) { expect( - $(".head img[src='https://www.w3.org/Icons/member_subm']", doc).length + $(".head img[src^='https://www.w3.org/Icons/member_subm']", doc).length ).toEqual(1); }).then(done); }); @@ -777,7 +777,7 @@ describe("W3C — Headers", function() { Object.assign(ops.config, newProps); makeRSDoc(ops, function(doc) { expect( - $(".head img[src='https://www.w3.org/Icons/team_subm']", doc).length + $(".head img[src^='https://www.w3.org/Icons/team_subm']", doc).length ).toEqual(1); }).then(done); });