OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 import "package:expect/expect.dart"; | 5 import "package:expect/expect.dart"; |
6 | 6 |
7 // Tests for the contains methods on lists. | 7 // Tests for the contains methods on lists. |
8 | 8 |
9 class A { | 9 class A { |
10 const A(); | 10 const A(); |
(...skipping 18 matching lines...) Expand all Loading... |
29 iterable1, | 29 iterable1, |
30 iterable2, | 30 iterable2, |
31 list2, | 31 list2, |
32 iterable3, | 32 iterable3, |
33 iterable4 | 33 iterable4 |
34 ]; | 34 ]; |
35 for (var iterable in iterables) { | 35 for (var iterable in iterables) { |
36 Expect.isFalse(iterable.contains(new A())); | 36 Expect.isFalse(iterable.contains(new A())); |
37 } | 37 } |
38 } | 38 } |
OLD | NEW |