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

Unified Diff: tests/lib/mirrors/reflect_class_test.dart

Issue 2765693002: Update all tests (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/lib/mirrors/reflect_class_test.dart
diff --git a/tests/lib/mirrors/reflect_class_test.dart b/tests/lib/mirrors/reflect_class_test.dart
index 29f546626240fdc6d3c139832666d2eccd0eaa16..b2b4b53a77f56e5dd266f5fa28e5db1500745d67 100644
--- a/tests/lib/mirrors/reflect_class_test.dart
+++ b/tests/lib/mirrors/reflect_class_test.dart
@@ -12,7 +12,7 @@ main() {
Function expectedError = (e) => e is ArgumentError || e is TypeError;
Expect.throws(() => reflectClass(dynamic), expectedError);
- Expect.throws(() => reflectClass(1), expectedError); /// 01: static type warning
- Expect.throws(() => reflectClass("string"), expectedError); /// 02: static type warning
+ Expect.throws(() => reflectClass(1), expectedError); //# 01: static type warning
+ Expect.throws(() => reflectClass("string"), expectedError); //# 02: static type warning
Expect.throws(() => reflectClass(FooFunction), expectedError);
}

Powered by Google App Engine
This is Rietveld 408576698