Skip to content

Commit 80116ee

Browse files
test: hold the new comment to the two-line limit
1 parent aeb5dbf commit 80116ee

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎test/RuleSetCompiler.unittest.js‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,8 @@ describe("RuleSetCompiler.hasRuleForResource", () => {
132132
});
133133

134134
it("leaves a pattern generated from a list of paths unexpanded", () => {
135-
// the test262 harness builds one of these from ~200 paths; expanding it
136-
// costs 165ms per compilation, so past the length cap only the spelling the
137-
// pattern carries outright is read
135+
// a kilobyte-long generated pattern (test262's harness has one) costs 165ms
136+
// to expand per compilation, so past the cap only an outright spelling reads
138137
const paths = Array.from(
139138
{ length: 60 },
140139
(_, i) => `(?:case-${i}/fixture\\.js$)`

0 commit comments

Comments
 (0)