Skip to content

Commit b1a7cca

Browse files
ymichalsnik
y
authored andcommitted
fix test message
1 parent a846dd1 commit b1a7cca

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/lib/rules/prop-name-casing.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ ruleTester.run('prop-name-casing', rule, {
103103
`,
104104
parserOptions,
105105
errors: [{
106-
message: 'Prop "greeting_text" is not camelCase.',
106+
message: 'Prop "greeting_text" is not in camelCase.',
107107
type: 'Property',
108108
line: 4
109109
}]
@@ -120,7 +120,7 @@ ruleTester.run('prop-name-casing', rule, {
120120
options: ['camelCase'],
121121
parserOptions,
122122
errors: [{
123-
message: 'Prop "greeting_text" is not camelCase.',
123+
message: 'Prop "greeting_text" is not in camelCase.',
124124
type: 'Property',
125125
line: 4
126126
}]
@@ -137,7 +137,7 @@ ruleTester.run('prop-name-casing', rule, {
137137
options: ['snake_case'],
138138
parserOptions,
139139
errors: [{
140-
message: 'Prop "greetingText" is not snake_case.',
140+
message: 'Prop "greetingText" is not in snake_case.',
141141
type: 'Property',
142142
line: 4
143143
}]
@@ -154,7 +154,7 @@ ruleTester.run('prop-name-casing', rule, {
154154
options: ['camelCase'],
155155
parserOptions,
156156
errors: [{
157-
message: 'Prop "greeting-text" is not camelCase.',
157+
message: 'Prop "greeting-text" is not in camelCase.',
158158
type: 'Property',
159159
line: 4
160160
}]
@@ -171,7 +171,7 @@ ruleTester.run('prop-name-casing', rule, {
171171
options: ['snake_case'],
172172
parserOptions,
173173
errors: [{
174-
message: 'Prop "greeting-text" is not snake_case.',
174+
message: 'Prop "greeting-text" is not in snake_case.',
175175
type: 'Property',
176176
line: 4
177177
}]

0 commit comments

Comments
 (0)