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

Unified Diff: tests/language_strong/private_access_test.dart

Issue 2765893003: Fix warnings_checker.dart handling of multitests (Closed)
Patch Set: Created 3 years, 9 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
Index: tests/language_strong/private_access_test.dart
diff --git a/tests/language_strong/private_access_test.dart b/tests/language_strong/private_access_test.dart
index ff608671305e4f9fe89b2c57b4befd456f5c4317..984fdbac9203494f6d013eea7ba609a4c8b3284d 100644
--- a/tests/language_strong/private_access_test.dart
+++ b/tests/language_strong/private_access_test.dart
@@ -8,14 +8,14 @@ import 'private_access_lib.dart';
import 'private_access_lib.dart' as private;
main() {
- Expect.throws(() => _function(), // /// 01: static type warning
- (e) => e is NoSuchMethodError); // /// 01: continued
- Expect.throws(() => private._function(), // /// 02: static type warning
- (e) => e is NoSuchMethodError); // /// 02: continued
- Expect.throws(() => new _Class()); // /// 03: static type warning
- Expect.throws(() => new private._Class()); // /// 04: static type warning
- Expect.throws(() => new Class._constructor(), // /// 05: static type warning
- (e) => e is NoSuchMethodError); // /// 05: continued
- Expect.throws(() => new private.Class._constructor(), /// 06: static type warning
- (e) => e is NoSuchMethodError); // /// 06: continued
+ Expect.throws(() => _function(), // //# 01: static type warning
+ (e) => e is NoSuchMethodError); // //# 01: continued
+ Expect.throws(() => private._function(), // //# 02: static type warning
+ (e) => e is NoSuchMethodError); // //# 02: continued
+ Expect.throws(() => new _Class()); // //# 03: static type warning
+ Expect.throws(() => new private._Class()); // //# 04: static type warning
+ Expect.throws(() => new Class._constructor(), // //# 05: static type warning
+ (e) => e is NoSuchMethodError); // //# 05: continued
+ Expect.throws(() => new private.Class._constructor(), //# 06: static type warning
+ (e) => e is NoSuchMethodError); // //# 06: continued
}
« no previous file with comments | « tests/language_strong/prefix_unqualified_invocation_test.dart ('k') | tests/language_strong/proxy2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698