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

Commit b80d103

Browse files
committed
chore: update changelog
1 parent 955ae2f commit b80d103

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* fix: make check-unnecessary-nullable command ignore Flutter keys.
1212
* chore: restrict `analyzer` version to `>=4.1.0 <4.8.0`.
1313
* fix: add const to edge insets constructors in [`prefer-correct-edge-insets-constructor-rule`](https://dartcodemetrics.dev/docs/rules/flutter/prefer-correct-edge-insets-constructor) when appropriate.
14+
* fix: make [`avoid-border-all`](https://dartcodemetrics.dev/docs/rules/flutter/avoid-border-all) not report errors on final variables.
1415

1516
## 4.18.0-dev.2
1617

test/src/analyzers/lint_analyzer/rules/rules_list/avoid_border_all/avoid_border_all_rule_test.dart

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,15 @@ void main() {
6565
);
6666
});
6767

68-
test('does not report a issue when final variable is used as argument',
69-
() async {
70-
final unit =
71-
await RuleTestHelper.resolveFromFile(_exampleWithVariablesPath);
72-
final issues = AvoidBorderAllRule().check(unit);
68+
test(
69+
'does not report a issue when final variable is used as argument',
70+
() async {
71+
final unit =
72+
await RuleTestHelper.resolveFromFile(_exampleWithVariablesPath);
73+
final issues = AvoidBorderAllRule().check(unit);
7374

74-
RuleTestHelper.verifyNoIssues(issues);
75-
});
75+
RuleTestHelper.verifyNoIssues(issues);
76+
},
77+
);
7678
});
7779
}

0 commit comments

Comments
 (0)