Skip to content

Commit fdb361c

Browse files
test: add golden tests for lints fix
1 parent 931b877 commit fdb361c

File tree

6 files changed

+747
-2
lines changed

6 files changed

+747
-2
lines changed

.github/workflows/base.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ jobs:
5151
run: flutter analyze
5252
- name: Run tests
5353
run: flutter test --no-pub --coverage
54+
- name: Run fixes tests
55+
run: dart fix --compare-to-golden test_fixes/
5456
- name: Upload coverage to Codecov
5557
uses: codecov/codecov-action@v5
5658
with:

analysis_options.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
include: package:flutter_lints/flutter.yaml
2+
3+
analyzer:
4+
exclude:
5+
- "test_fixes/**"

example/pubspec.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ packages:
106106
dependency: "direct main"
107107
description:
108108
name: flutter_form_builder
109-
sha256: "60237a24a4da373218eb77b0ef1a3c64ca17ff6c42250e149987755735cbd67c"
109+
sha256: aa3901466c70b69ae6c7f3d03fcbccaec5fde179d3fded0b10203144b546ad28
110110
url: "https://pub.dev"
111111
source: hosted
112-
version: "10.0.0"
112+
version: "10.0.1"
113113
flutter_keyboard_visibility:
114114
dependency: transitive
115115
description:

test_fixes/analysis_options.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include: package:flutter_lints/flutter.yaml

0 commit comments

Comments
 (0)