Skip to content

Commit

Permalink
tests(w3c/headers): match icon URLs that start with
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres authored and Marcos Cáceres committed Jun 16, 2017
1 parent feeba94 commit 0df0ca3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/spec/w3c/headers-spec.js
Expand Up @@ -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);
});
Expand Down Expand Up @@ -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);
});
Expand Down

0 comments on commit 0df0ca3

Please sign in to comment.