Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(787)

Unified Diff: sky/tests/lowlevel/camel-case.sky

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/tests/lowlevel/bug-438036-expected.txt ('k') | sky/tests/lowlevel/camel-case-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/lowlevel/camel-case.sky
diff --git a/sky/tests/lowlevel/camel-case.sky b/sky/tests/lowlevel/camel-case.sky
index 98369abb138bd368c6e94dad8c4a00ac68b228e4..72cd7eea838c4c36d597ea09a61cd78338a81a35 100644
--- a/sky/tests/lowlevel/camel-case.sky
+++ b/sky/tests/lowlevel/camel-case.sky
@@ -1,14 +1,19 @@
<CamelCase>
-<import src="../resources/chai.sky" />
-<import src="../resources/mocha.sky" />
<script>
-describe('Element tag names', function() {
- it('should have various casing', function() {
- assert.equal(document.documentElement.tagName, 'CamelCase');
+import "../resources/third_party/unittest/unittest.dart";
+import "../resources/unit.dart";
+
+import "dart:sky";
+
+void main () {
+ initUnit();
+
+ test('should have various casing', () {
+ expect(document.documentElement.tagName, equals('CamelCase'));
var element = document.createElement('CamelCase');
- assert.equal(element.tagName, 'CamelCase');
+ expect(element.tagName, equals('CamelCase'));
});
-});
+}
</script>
</CamelCase>
« no previous file with comments | « sky/tests/lowlevel/bug-438036-expected.txt ('k') | sky/tests/lowlevel/camel-case-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698