Skip to content

Commit 2efcb60

Browse files
author
Scott J Miles
committed
test for {{!computed(prop)}}
1 parent 36a3251 commit 2efcb60

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test/unit/bind-elements.html

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
computed-inline="{{computeInline(value,add, divide)}}"
1010
computed-inline2="{{computeInline(value, add,divide)}}"
1111
computedattribute$="{{computeInline(value, add,divide)}}"
12+
neg-computed-inline="{{!computeInline(value,add,divide)}}"
1213
style$="{{boundStyle}}"
1314
data-id$="{{dataSetId}}"
1415
custom-event-value="{{customEventValue::custom}}"

test/unit/bind.html

+1
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@
160160
el.divide = 3;
161161
assert.equal(el.$.boundChild.computedInline, 20, 'computedInline not correct');
162162
assert.equal(el.$.boundChild.computedInline2, 20, 'computedInline2 not correct');
163+
assert.equal(el.$.boundChild.negComputedInline, false, 'negComputedInline not correct');
163164
});
164165

165166
test('annotated computed attribute', function() {

0 commit comments

Comments
 (0)