Skip to content
This repository was archived by the owner on Jul 16, 2023. It is now read-only.

Commit e484bbd

Browse files
committed
test: update rule tests
1 parent db03d69 commit e484bbd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/analyzers/lint_analyzer/rules/rules_list/avoid_unnecessary_setstate/avoid_unnecessary_setstate_test.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ void main() {
5454
'myMethod()',
5555
],
5656
messages: [
57-
'Avoid calling unnecessary setState.',
58-
'Avoid calling unnecessary setState.',
59-
'Avoid calling unnecessary setState.',
60-
'Avoid calling unnecessary setState.',
61-
'Avoid calling unnecessary setState.',
57+
'Avoid calling unnecessary setState. Consider changing the state directly.',
58+
'Avoid calling unnecessary setState. Consider changing the state directly.',
59+
'Avoid calling unnecessary setState. Consider changing the state directly.',
60+
'Avoid calling unnecessary setState. Consider changing the state directly.',
61+
'Avoid calling unnecessary setState. Consider changing the state directly.',
6262
'Avoid calling a method with setState.',
6363
'Avoid calling a method with setState.',
6464
],

0 commit comments

Comments
 (0)