mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 03:07:49 +00:00
Fix error_processor_test.dart's use of USE_OF_VOID_RESULT.
The message for this error code doesn't accept any arguments, so there's no reason for the test to provide any. Change-Id: I6306cead7865704c9074dd0dc2a1bc1aacaeda16 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213724 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Paul Berry <paulberry@google.com>
This commit is contained in:
parent
6f86375f9c
commit
f8b1161496
|
@ -37,9 +37,7 @@ main() {
|
|||
]);
|
||||
|
||||
AnalysisError use_of_void_result = AnalysisError(
|
||||
TestSource(), 0, 1, CompileTimeErrorCode.USE_OF_VOID_RESULT, [
|
||||
['x']
|
||||
]);
|
||||
TestSource(), 0, 1, CompileTimeErrorCode.USE_OF_VOID_RESULT, []);
|
||||
|
||||
// We in-line a lint code here in order to avoid adding a dependency on the
|
||||
// linter package.
|
||||
|
|
Loading…
Reference in a new issue