Skip to content

Commit

Permalink
[test] Drop temp exception for fingerprinting-guidance title
Browse files Browse the repository at this point in the history
The W3C API now returns the right title for the spec, so exception-to-the-rule
is no longer needed.
  • Loading branch information
tidoust authored and dontcallmedom committed Jan 5, 2022
1 parent 0572594 commit c3a3a66
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,11 @@ describe("List of specs", () => {

it("has series titles that look consistent with spec titles", () => {
// Note the WebRTC spec follows a slightly different pattern
// TEMP (2021-12-23): 2 temp exceptions to the rule: the W3C API returns an
// outdated title for fingerprinting-guidance (should get fixed soon),
// and published version of CSS Images Level 4 has an obscure title à la
// "CSS Image Values..." (should get fixed next time the spec gets published
// to /TR)
// TEMP (2022-01-05): temp exception to the rule: published version of CSS
// Images Level 4 has an obscure title à la "CSS Image Values..."
// (should get fixed next time the spec gets published to /TR)
const wrong = specs.filter(s => !s.title.includes(s.series.title))
.filter(s => !["webrtc", "fingerprinting-guidance", "css-images-4"].includes(s.shortname));
.filter(s => !["webrtc", "css-images-4"].includes(s.shortname));
assert.deepStrictEqual(wrong, []);
});

Expand Down

0 comments on commit c3a3a66

Please sign in to comment.