| Index: tests/compiler/dart2js_extra/math_lib_test.dart
|
| diff --git a/samples/hi/hi.dart b/tests/compiler/dart2js_extra/math_lib_test.dart
|
| similarity index 71%
|
| copy from samples/hi/hi.dart
|
| copy to tests/compiler/dart2js_extra/math_lib_test.dart
|
| index 77cc144f834513f040b0496efde571b3ea84607a..91d8f4c26f2267080a31b4dcbf147845ca13f4b2 100644
|
| --- a/samples/hi/hi.dart
|
| +++ b/tests/compiler/dart2js_extra/math_lib_test.dart
|
| @@ -2,10 +2,9 @@
|
| // 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');
|
| +#import("dart:math");
|
|
|
| main() {
|
| - document.query('#status').innerHTML = 'Hi, Dart';
|
| + Expect.equals(2.0, sqrt(4));
|
| + Expect.equals(2.25, pow(1.5, 2.0));
|
| }
|
|
|