-
Notifications
You must be signed in to change notification settings - Fork 390
Increase test coverage for search.dart
#9795
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
Changes from 3 commits
75dfdef
b802a43
c5a593a
790743f
b0e3200
e1989e9
9184836
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -65,7 +65,10 @@ class PresubmitCommand extends Command { | |
| final pathsToFormat = _getPathsToFormat(p); | ||
|
|
||
| final formatProcess = await pm.runProcess( | ||
| CliCommand.dart(['format', ...pathsToFormat], throwOnException: false), | ||
| CliCommand.dart([ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need to just send out a PR that re-formats all files?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think what we need to do is include the tool/ directory in the CI formatting check. Right now I believe it is omitted. |
||
| 'format', | ||
| ...pathsToFormat, | ||
| ], throwOnException: false), | ||
| workingDirectory: p.packagePath, | ||
| ); | ||
|
|
||
|
|
@@ -108,10 +111,12 @@ class PresubmitCommand extends Command { | |
| final pathsToFormat = _getPathsToFormat(p); | ||
|
|
||
| final formatProcess = await pm.runProcess( | ||
| CliCommand.dart( | ||
| ['format', '--output=none', '--set-exit-if-changed', ...pathsToFormat], | ||
| throwOnException: false, | ||
| ), | ||
| CliCommand.dart([ | ||
| 'format', | ||
| '--output=none', | ||
| '--set-exit-if-changed', | ||
| ...pathsToFormat, | ||
| ], throwOnException: false), | ||
| workingDirectory: p.packagePath, | ||
| ); | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.