Skip to content

Commit 3ba32ce

Browse files
Mariano Aguerofvictorio
Mariano Aguero
authored andcommitted
Update test
1 parent 30c7eb6 commit 3ba32ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/prettier-rules.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ s = w * h; p = 2 * (w + h);
2626
assert.equal(report.filePath, filePath)
2727
assert.ok(
2828
report.messages[0].message.includes(
29-
`Replace ··string·constant·text·=·'abc' with string·text·=·"abc"`
29+
'Replace ··string·constant·text·=·\'abc\' with string·constant·text·=·"abc"'
3030
)
3131
)
3232
assert.ok(
3333
report.messages[1].message.includes(
34-
'Replace ····function·rectangle(uint·w,·uint·h)·returns· with ··function·rectangle(uint·w,·uint·h)·returns'
34+
'Replace ····function·rectangle(uint·w,·uint·h)·returns· with ··function·rectangle(uint·w,·uint·h)·returns'
3535
)
3636
)
3737
assert.ok(report.messages[2].message.includes('Replace s·=·w·*·h; with ····s·=·w·*·h;⏎···'))

0 commit comments

Comments
 (0)