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

Unified Diff: sky/tests/framework/templates.sky

Issue 845523004: console.error when using unknown attributes in templates. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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/framework/sky-element/sky-element.sky ('k') | sky/tests/resources/test-element.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/framework/templates.sky
diff --git a/sky/tests/framework/templates.sky b/sky/tests/framework/templates.sky
index 016d124b6ea5661c1caddef4c99db938e86d0853..f34657159ac810eae5fc92765dddcf9728a1b3f4 100644
--- a/sky/tests/framework/templates.sky
+++ b/sky/tests/framework/templates.sky
@@ -120,11 +120,11 @@ describe("SkyElement", function() {
var inside = element.shadowRoot.getElementById("inside");
Promise.resolve().then(function() {
assert.equal(inside.textContent, 10);
- assert.equal(inside.attr, 10);
+ assert.equal(inside.lang, 10);
element.value = 20;
}).then(function() {
assert.equal(inside.textContent, 20);
- assert.equal(inside.attr, 20);
+ assert.equal(inside.lang, 20);
done();
}).catch(function(e) {
done(e);
« no previous file with comments | « sky/framework/sky-element/sky-element.sky ('k') | sky/tests/resources/test-element.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698