Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make a new test folder for variable tests. #1302

Merged
merged 1 commit into from
Oct 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,15 @@ These tests are all run by `short_format_test.dart`.
The newer tall style tests are:

```
expression/ - Test formatting expressions.
invocation/ - Test formatting function and member invocations.
member/ - Test formatting class/enum/extension/mixin member declarations.
statement/ - Test formatting statements.
top_level/ - Test formatting top-level declarations and directives.
type/ - Test formatting type annotations.
declaration/ - Typedef, class, enum, and extension declarations.
expression/ - Expressions.
invocation/ - Function and member invocations.
member/ - Constructor, method, field, getter, and setter declarations.
selection/ - Test preserving selection information.
statement/ - Statements.
top_level/ - Top-level directives.
type/ - Type annotations.
variable/ - Top-level and local variable declarations.
```

These tests are all run by `tall_format_test.dart`.
Expand Down
1 change: 1 addition & 0 deletions test/tall_format_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ void main() async {
await testDirectory('statement', tall: true);
await testDirectory('top_level', tall: true);
await testDirectory('type', tall: true);
await testDirectory('variable', tall: true);

// TODO(tall): The old formatter_test.dart has tests here for things like
// trailing newlines. Port those over to the new style once it supports all
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.