Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
53771aba
Unverified
Commit
53771aba
authored
Jan 30, 2022
by
Viren Khatri
Committed by
GitHub
Jan 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve docs for testing dart fix (#97493)
parent
6bd0b957
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
fix_data.yaml
packages/flutter/lib/fix_data.yaml
+3
-0
README.md
packages/flutter/test_fixes/README.md
+8
-0
No files found.
packages/flutter/lib/fix_data.yaml
View file @
53771aba
...
...
@@ -9,6 +9,9 @@
# from other fixes. In a comment, include a link to the PR where the change
# requiring the fix was made.
# Every fix must be tested. See the flutter/packages/flutter/test_fixes/README.md
# file for instructions on testing these data driven fixes.
# For documentation about this file format, see
# https://dart.dev/go/data-driven-fixes.
...
...
packages/flutter/test_fixes/README.md
View file @
53771aba
...
...
@@ -6,6 +6,14 @@ test the [`dart fix` framework](https://dart.dev/tools/dart-fix) refactorings us
See the flutter/packages/flutter/lib/fix_data.yaml file for the current package:flutter
data driven fixes.
To run these tests locally, execute this command in the flutter/packages/flutter/test_fixes
directory.
```
sh
dart fix
--compare-to-golden
```
For more documentation about this folder, see https://dart.dev/go/data-driven-fixes#test-folder.
## When making structural changes to this directory
Note that the tests in this directory are also invoked from external repositories.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment