Skip to content

Commit 61dfd0f

Browse files
committed
test(sort-properties.test.js): Corrected according to warning message
1 parent bb5af90 commit 61dfd0f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

__tests__/sort-properties.test.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,22 @@ ruleTester.run('sort-properties', rule, {
1717
code: 'const styles = { display: "block", position: "absolute", top: "0", right: "0", bottom: "0", left: "0" };',
1818
errors: [
1919
{
20-
message: 'Property "display" is out of order. Expected position: 6.',
20+
message: 'Property "display" should be at position 6',
2121
},
2222
{
23-
message: 'Property "position" is out of order. Expected position: 1.',
23+
message: 'Property "position" should be at position 1',
2424
},
2525
{
26-
message: 'Property "top" is out of order. Expected position: 2.',
26+
message: 'Property "top" should be at position 2',
2727
},
2828
{
29-
message: 'Property "right" is out of order. Expected position: 3.',
29+
message: 'Property "right" should be at position 3',
3030
},
3131
{
32-
message: 'Property "bottom" is out of order. Expected position: 4.',
32+
message: 'Property "bottom" should be at position 4',
3333
},
3434
{
35-
message: 'Property "left" is out of order. Expected position: 5.',
35+
message: 'Property "left" should be at position 5',
3636
},
3737
],
3838
output:

0 commit comments

Comments
 (0)