Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(484)

Unified Diff: tests/kernel/unsorted/generic_function_test.dart

Issue 2878543006: Remove the argument from main in a test (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/kernel/unsorted/generic_function_test.dart
diff --git a/tests/kernel/unsorted/generic_function_test.dart b/tests/kernel/unsorted/generic_function_test.dart
index 5b8a47eade817783acf659d1d6e1b13dca8efd44..126f86339dcf6b15175c7583d1e1cb0355ed09a0 100644
--- a/tests/kernel/unsorted/generic_function_test.dart
+++ b/tests/kernel/unsorted/generic_function_test.dart
@@ -18,6 +18,6 @@ bar<R>(int body()) {
return function();
}
-main(args) {
+main() {
Expect.isTrue(bar(() => 43) == 43);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698