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

Unified Diff: tests/language_strong/generic_methods_simple_as_expression_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/generic_methods_simple_as_expression_test.dart
diff --git a/tests/language_strong/generic_methods_simple_as_expression_test.dart b/tests/language_strong/generic_methods_simple_as_expression_test.dart
index bbfa54edd79447730dc5a58076c06506ca6d13f6..d6b3c48c21461d058222a3c8399af6234f5b1515 100644
--- a/tests/language_strong/generic_methods_simple_as_expression_test.dart
+++ b/tests/language_strong/generic_methods_simple_as_expression_test.dart
@@ -13,6 +13,6 @@ T cast<T>(dynamic obj) {
}
main() {
- Expect.equals(cast<num>(42), 42); /// 01: ok
- cast<String>(42); /// 02: runtime error
+ Expect.equals(cast<num>(42), 42); //# 01: ok
+ cast<String>(42); //# 02: runtime error
}
« no previous file with comments | « tests/language_strong/generic_methods_recursive_bound_test.dart ('k') | tests/language_strong/get_set_syntax_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698