| Index: tests/lib/platform/executable_test.dart
|
| diff --git a/tests/language/type_variable_bounds3_test.dart b/tests/lib/platform/executable_test.dart
|
| similarity index 51%
|
| copy from tests/language/type_variable_bounds3_test.dart
|
| copy to tests/lib/platform/executable_test.dart
|
| index 876ed9421e3005474b4693e30f205ebc5270b9a8..fee453938db9d530bab866415a3f2fed579968c3 100644
|
| --- a/tests/language/type_variable_bounds3_test.dart
|
| +++ b/tests/lib/platform/executable_test.dart
|
| @@ -2,18 +2,15 @@
|
| // 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.
|
|
|
| -// Test of parameterized types with invalid bounds.
|
| +import "dart:platform" as platform;
|
|
|
| -class A<K extends int> {
|
| -}
|
| +import "package:unittest/unittest.dart";
|
|
|
| -class B<X, Y> {
|
| - foo(x) {
|
| - return x is A<X>; /// 00: dynamic type error
|
| +main() {
|
| + if (platform.operatingSystem != null) {
|
| + expect(platform.executable, contains('dart'));
|
| + } else {
|
| + expect(platform.executable, isNull);
|
| }
|
| }
|
|
|
| -main() {
|
| - var b = new B<double, double>();
|
| - b.foo(new A());
|
| -}
|
|
|