| Index: tests/language/canonical_const2_test.dart
|
| diff --git a/samples/hi/hi.dart b/tests/language/canonical_const2_test.dart
|
| similarity index 64%
|
| copy from samples/hi/hi.dart
|
| copy to tests/language/canonical_const2_test.dart
|
| index 77cc144f834513f040b0496efde571b3ea84607a..02fb11e215b4ea3cc862c35f43dd4d506abb622c 100644
|
| --- a/samples/hi/hi.dart
|
| +++ b/tests/language/canonical_const2_test.dart
|
| @@ -2,10 +2,8 @@
|
| // 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.
|
|
|
| -#library('hi');
|
| -
|
| -#import('dart:html');
|
| +// Check that compile-time constants are correctly canonicalized.
|
|
|
| main() {
|
| - document.query('#status').innerHTML = 'Hi, Dart';
|
| + Expect.isTrue(const <num>[1,2] !== const <num>[1.0,2.0]);
|
| }
|
|
|