review fixes

pull/7663/head
Mathias Picker 4 years ago
parent daede43653
commit 990f572110

@ -165,9 +165,7 @@ export default function tag(parser: Parser) {
}; };
} }
const unique_names: Set<string> = new Set(); const unique_names: Set<string> = new Set();
let attribute; let attribute;
while ((attribute = read_attribute(parser, unique_names))) { while ((attribute = read_attribute(parser, unique_names))) {
element.attributes.push(attribute); element.attributes.push(attribute);

@ -5,6 +5,7 @@ export default {
test({ assert, target }) { test({ assert, target }) {
const input = target.querySelector('input'); const input = target.querySelector('input');
assert.equal(input.value.length > 100_000, true); const one_million = 1000000
assert.equal(input.value.length > one_million, true);
} }
}; };

@ -5,6 +5,7 @@ export default {
test({ assert, target }) { test({ assert, target }) {
const textarea = target.querySelector('textarea'); const textarea = target.querySelector('textarea');
assert.equal(textarea.value.length > 100_000, true); const one_million = 1000000
assert.equal(textarea.value.length > one_million, true);
} }
}; };

Loading…
Cancel
Save