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

Unified Diff: tests/language/core_type_check_test.dart

Issue 166433002: Revert "Fix language tests wrt. warnings." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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 | « tests/language/constructor_test.dart ('k') | tests/language/crash_6725_part.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/core_type_check_test.dart
diff --git a/tests/language/core_type_check_test.dart b/tests/language/core_type_check_test.dart
index 4af259064f192c47076e0a22575a84099c01b20e..86f525b5275aae65ac0c67932448e39e01959004 100644
--- a/tests/language/core_type_check_test.dart
+++ b/tests/language/core_type_check_test.dart
@@ -12,21 +12,15 @@ check(value, expectComparable, expectPattern) {
int inscrutable(int x) => x == 0 ? 0 : x | inscrutable(x & (x - 1));
class A implements Comparable {
- int compareTo(o) => 0;
}
class B {
}
class C implements Pattern {
- matchAsPrefix(String s, [int start = 0]) => null;
- allMatches(String s) => null;
}
class D implements Pattern, Comparable {
- int compareTo(o) => 0;
- matchAsPrefix(String s, [int start = 0]) => null;
- allMatches(String s) => null;
}
main() {
« no previous file with comments | « tests/language/constructor_test.dart ('k') | tests/language/crash_6725_part.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698