DEV: apply new coding standards (#10592)

This commit is contained in:
Joffrey JAFFEUX
2020-09-04 13:42:47 +02:00
committed by GitHub
parent 80dfaeb0d2
commit 52672b9eab
1473 changed files with 9386 additions and 9958 deletions
@@ -15,12 +15,10 @@ componentTest("highlighting code", {
test(assert) {
assert.equal(
find("code.ruby.hljs .hljs-function .hljs-keyword")
.text()
.trim(),
find("code.ruby.hljs .hljs-function .hljs-keyword").text().trim(),
"def"
);
}
},
});
componentTest("large code blocks are not highlighted", {
@@ -33,11 +31,6 @@ componentTest("large code blocks are not highlighted", {
},
test(assert) {
assert.equal(
find("code")
.text()
.trim(),
LONG_CODE_BLOCK.trim()
);
}
assert.equal(find("code").text().trim(), LONG_CODE_BLOCK.trim());
},
});