Index: test/codegen/language/hashcode_dynamic_test.dart |
diff --git a/test/codegen/language/issue11724_test.dart b/test/codegen/language/hashcode_dynamic_test.dart |
similarity index 60% |
copy from test/codegen/language/issue11724_test.dart |
copy to test/codegen/language/hashcode_dynamic_test.dart |
index 146a6fea0a5025ade7a9556817e09b73e12411ac..b705dd8afaaf98e39def9dde62120f5eff404962 100644 |
--- a/test/codegen/language/issue11724_test.dart |
+++ b/test/codegen/language/hashcode_dynamic_test.dart |
@@ -1,9 +1,10 @@ |
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
+// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
import "package:expect/expect.dart"; |
void main() { |
- Expect.throws(() => method(<int>[]), (e) => e is NoSuchMethodError); |
+ dynamic x = 3; |
+ Expect.equals(3, x.hashCode); |
} |