Chromium Code Reviews| Index: tests/language/dynamic_type_literal_test.dart |
| diff --git a/tests/compiler/dart2js_extra/16407_test.dart b/tests/language/dynamic_type_literal_test.dart |
| similarity index 63% |
| copy from tests/compiler/dart2js_extra/16407_test.dart |
| copy to tests/language/dynamic_type_literal_test.dart |
| index aff1ba337ddab1eb5d219ac635653b48d4f8d1bc..34c5b67f78351929c6854754de1c797f2068f9c2 100644 |
| --- a/tests/compiler/dart2js_extra/16407_test.dart |
| +++ b/tests/language/dynamic_type_literal_test.dart |
| @@ -1,16 +1,11 @@ |
| // Copyright (c) 2014, 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. |
| +// Test explicit import of dart:core in the source code.. |
|
asgerf
2014/07/01 09:30:29
Stray comment.
Johnni Winther
2014/07/01 10:53:01
Updated.
|
| import "package:expect/expect.dart"; |
| -// Regression test for Issue 16407. |
| - |
| void main() { |
| - foo(null, true); |
| - foo('x', false); |
| + Expect.isTrue(dynamic is Type); |
| + Expect.isFalse(dynamic == Type); |
| } |
| - |
| -var foo = (x, result) { |
| - Expect.equals(result, x is Null, '$x is Null'); |
| -}; |