26 lines
681 B
Markdown
26 lines
681 B
Markdown
|
|
## What's here?
|
||
|
|
|
||
|
|
For information about the files in this directory, see
|
||
|
|
https://github.com/flutter/flutter/wiki/Data-driven-Fixes#testing.
|
||
|
|
|
||
|
|
## Organization
|
||
|
|
|
||
|
|
The contents of this directory are used to test the `dart fix` refactorings
|
||
|
|
offered by this package. See `lib/dart_fix.yaml` for the fix definitions.
|
||
|
|
|
||
|
|
Note that files in this directory are excluded from analysis.
|
||
|
|
|
||
|
|
## Running the dart fix tests
|
||
|
|
|
||
|
|
In order to test the fixes manually:
|
||
|
|
|
||
|
|
```bash
|
||
|
|
> cd test_fixes
|
||
|
|
> dart fix --compare-to-golden
|
||
|
|
```
|
||
|
|
|
||
|
|
## Symbols excluded from the renames
|
||
|
|
|
||
|
|
Since `lib/src/helpers/http.dart` defines an `HttpRequest` class,
|
||
|
|
we don't offer a quick fix to rename from `HttpRequest` to `XMLHttpRequest`.
|