| Index: sky/tests/lowlevel/create-document.sky
|
| diff --git a/sky/tests/lowlevel/create-document.sky b/sky/tests/lowlevel/create-document.sky
|
| index cb4f7c3f0d8fbaf367dedbcd8d7cef7f9db7f45b..30bdbaf2d786946aaf964432533980d08fdc8d64 100644
|
| --- a/sky/tests/lowlevel/create-document.sky
|
| +++ b/sky/tests/lowlevel/create-document.sky
|
| @@ -1,15 +1,20 @@
|
| <html>
|
| -<import src="../resources/chai.sky" />
|
| -<import src="../resources/mocha.sky" />
|
| <script>
|
| -describe('Document', function() {
|
| - it('should have a constructor', function() {
|
| +import "../resources/third_party/unittest/unittest.dart";
|
| +import "../resources/unit.dart";
|
| +
|
| +import "dart:sky";
|
| +
|
| +main() {
|
| + initUnit();
|
| +
|
| + test('should have a constructor', () {
|
| var doc = new Document();
|
| - assert.isNotNull(doc);
|
| - assert.doesNotThrow(function() {
|
| - doc.registerElement('x-foo');
|
| - }, 'new document should have a registration context');
|
| + expect(doc, isNotNull);
|
| + // assert.doesNotThrow(function() {
|
| + // doc.registerElement('x-foo');
|
| + // }, 'new document should have a registration context');
|
| });
|
| -});
|
| +}
|
| </script>
|
| </html>
|
|
|