| Index: pkg/mdv_observe/test/utils.dart
|
| diff --git a/utils/tests/testrunner/layout_tests/web/layout_test.dart b/pkg/mdv_observe/test/utils.dart
|
| old mode 100755
|
| new mode 100644
|
| similarity index 53%
|
| copy from utils/tests/testrunner/layout_tests/web/layout_test.dart
|
| copy to pkg/mdv_observe/test/utils.dart
|
| index eead227404a3b53faf70f6f9315c075f50d2f1d9..5dd5e381673d55e6cd54ea7ef59bbe3ff1bc9f76
|
| --- a/utils/tests/testrunner/layout_tests/web/layout_test.dart
|
| +++ b/pkg/mdv_observe/test/utils.dart
|
| @@ -2,16 +2,11 @@
|
| // 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 testrunner_test;
|
| +library mdv_observe.test.utils;
|
|
|
| -import 'dart:html';
|
| import 'package:unittest/unittest.dart';
|
|
|
| -main() {
|
| - test("layout", () {
|
| - var lbl = new LabelElement();
|
| - lbl.text = 'Hello Dart!';
|
| - document.body.nodes.add(lbl);
|
| - });
|
| -}
|
| -
|
| +// TODO(jmesserly): use matchers when this is supported. For now just
|
| +// compare to toStrings.
|
| +expectChanges(actual, expected, {reason}) =>
|
| + expect('$actual', '$expected', reason: reason);
|
|
|