@@ -101,7 +101,7 @@ class UpdatingTest extends RenderTest {
101
101
this . render (
102
102
stripTight `
103
103
<div>
104
- [{{this.[]}}]
104
+ [{{this.['' ]}}]
105
105
[{{this.[1]}}]
106
106
[{{this.[undefined]}}]
107
107
[{{this.[null]}}]
@@ -110,7 +110,7 @@ class UpdatingTest extends RenderTest {
110
110
[{{this.[this]}}]
111
111
[{{this.[foo.bar]}}]
112
112
113
- [{{this.nested.[]}}]
113
+ [{{this.nested.['' ]}}]
114
114
[{{this.nested.[1]}}]
115
115
[{{this.nested.[undefined]}}]
116
116
[{{this.nested.[null]}}]
@@ -125,7 +125,7 @@ class UpdatingTest extends RenderTest {
125
125
126
126
this . assertHTML ( stripTight `
127
127
<div>
128
- [empty string ]
128
+ []
129
129
[1]
130
130
[undefined]
131
131
[null]
@@ -134,7 +134,7 @@ class UpdatingTest extends RenderTest {
134
134
[this]
135
135
[foo.bar]
136
136
137
- [empty string ]
137
+ []
138
138
[1]
139
139
[undefined]
140
140
[null]
@@ -159,7 +159,7 @@ class UpdatingTest extends RenderTest {
159
159
160
160
this . assertHTML ( stripTight `
161
161
<div>
162
- [EMPTY STRING ]
162
+ []
163
163
[ONE]
164
164
[UNDEFINED]
165
165
[NULL]
@@ -168,7 +168,7 @@ class UpdatingTest extends RenderTest {
168
168
[THIS]
169
169
[FOO.BAR]
170
170
171
- [EMPTY STRING ]
171
+ []
172
172
[ONE]
173
173
[UNDEFINED]
174
174
[NULL]
@@ -196,7 +196,7 @@ class UpdatingTest extends RenderTest {
196
196
197
197
this . assertHTML ( stripTight `
198
198
<div>
199
- [empty string ]
199
+ []
200
200
[1]
201
201
[undefined]
202
202
[null]
@@ -205,7 +205,7 @@ class UpdatingTest extends RenderTest {
205
205
[this]
206
206
[foo.bar]
207
207
208
- [empty string ]
208
+ []
209
209
[1]
210
210
[undefined]
211
211
[null]
@@ -215,10 +215,6 @@ class UpdatingTest extends RenderTest {
215
215
[foo.bar]
216
216
</div>
217
217
` ) ;
218
-
219
- assert . validateDeprecations (
220
- / T h e ` ` p r o p e r t y w a s u s e d i n t h e ` .* ` t e m p l a t e w i t h o u t u s i n g ` t h i s ` /
221
- ) ;
222
218
}
223
219
224
220
@test
@@ -949,8 +945,8 @@ class UpdatingTest extends RenderTest {
949
945
foo: "{{foo}}";
950
946
bar: "{{bar}}";
951
947
value: "{{this.value}}";
952
- echo foo: "{{echo foo}}";
953
- echo bar: "{{echo bar}}";
948
+ echo foo: "{{echo this. foo}}";
949
+ echo bar: "{{echo this. bar}}";
954
950
echo value: "{{echo this.value}}";
955
951
956
952
-----
@@ -960,7 +956,7 @@ class UpdatingTest extends RenderTest {
960
956
bar: "{{bar}}";
961
957
value: "{{this.value}}";
962
958
echo foo: "{{echo foo}}";
963
- echo bar: "{{echo bar}}";
959
+ echo bar: "{{echo this. bar}}";
964
960
echo value: "{{echo this.value}}";
965
961
966
962
-----
@@ -981,7 +977,7 @@ class UpdatingTest extends RenderTest {
981
977
foo: "{{foo}}";
982
978
bar: "{{bar}}";
983
979
value: "{{this.value}}";
984
- echo foo: "{{echo foo}}";
980
+ echo foo: "{{echo this. foo}}";
985
981
echo bar: "{{echo bar}}";
986
982
echo value: "{{echo this.value}}";
987
983
{{/with}}
@@ -1115,19 +1111,12 @@ class UpdatingTest extends RenderTest {
1115
1111
</div>` ,
1116
1112
'After reset'
1117
1113
) ;
1118
-
1119
- assert . validateDeprecations (
1120
- / T h e ` f o o ` p r o p e r t y p a t h w a s u s e d i n t h e ` .* ` t e m p l a t e w i t h o u t u s i n g ` t h i s ` / ,
1121
- / T h e ` b a r ` p r o p e r t y p a t h w a s u s e d i n t h e ` .* ` t e m p l a t e w i t h o u t u s i n g ` t h i s ` / ,
1122
- / T h e ` b a r ` p r o p e r t y p a t h w a s u s e d i n t h e ` .* ` t e m p l a t e w i t h o u t u s i n g ` t h i s ` / ,
1123
- / T h e ` f o o ` p r o p e r t y p a t h w a s u s e d i n t h e ` .* ` t e m p l a t e w i t h o u t u s i n g ` t h i s ` /
1124
- ) ;
1125
1114
}
1126
1115
1127
1116
@test
1128
1117
'block arguments (ensure balanced push/pop)' ( ) {
1129
1118
let person = { name : { first : 'Godfrey' , last : 'Chan' } } ;
1130
- this . render ( '<div>{{#with this.person.name.first as |f|}}{{f}}{{/with}}{{f}}</div>' , {
1119
+ this . render ( '<div>{{#with this.person.name.first as |f|}}{{f}}{{/with}}{{this. f}}</div>' , {
1131
1120
person,
1132
1121
f : 'Outer' ,
1133
1122
} ) ;
@@ -1138,10 +1127,6 @@ class UpdatingTest extends RenderTest {
1138
1127
this . rerender ( { person } ) ;
1139
1128
1140
1129
this . assertHTML ( '<div>GodfreakOuter</div>' , 'After updating' ) ;
1141
-
1142
- assert . validateDeprecations (
1143
- / T h e ` f ` p r o p e r t y w a s u s e d i n t h e ` .* ` t e m p l a t e w i t h o u t u s i n g ` t h i s ` /
1144
- ) ;
1145
1130
}
1146
1131
1147
1132
@test
0 commit comments