flutter_flutter/tests/lowlevel/create-document.sky
Adam Barth f2d2e80e59 Merge the Sky Engine changes from the SkyDart branch
This CL flips the switch to make Sky use Dart.

TBR=eseidel@chromium.org
BUG=454613

Review URL: https://codereview.chromium.org/922893002
2015-02-12 15:06:03 -08:00

21 lines
418 B
Plaintext

<html>
<script>
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();
expect(doc, isNotNull);
// assert.doesNotThrow(function() {
// doc.registerElement('x-foo');
// }, 'new document should have a registration context');
});
}
</script>
</html>