Addressing comment on PR #678 #35
Annotations
2 errors
|
packages/prettier-plugin/src/index.test.js > prettier-plugin > blank line rules > should not move comments before do-while statement into the test condition:
packages/prettier-plugin/src/index.test.js#L4874
Error: expect(received).toBeWithNewline(expected)
Expected:
function test() {
let i = 0;
do {
i++;
}
// comment before while
while (i < 10);
}
Received:
function test() {
let i = 0;
do {
i++;
} // comment before while
while (i < 10)
}
❯ packages/prettier-plugin/src/index.test.js:4874:19
|
|
packages/prettier-plugin/src/index.test.js > prettier-plugin > blank line rules > should not move comments before do-while statement into the test condition:
packages/prettier-plugin/src/index.test.js#L4872
Error: expect(received).toBeWithNewline(expected)
Expected:
function test() {
let i = 0;
do {
i++;
} // comment before while
while (i < 10);
}
Received:
function test() {
let i = 0;
do {
i++;
} while (i < 10) // comment before while
}
❯ packages/prettier-plugin/src/index.test.js:4872:19
|