Skip to content

Commit d2b56a2

Browse files
authored
Merge pull request #13721 from fivetanley/fix-each-key-test
[glimmer2] fix #each with key option test
2 parents 53fa8fe + 581d898 commit d2b56a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/ember-glimmer/tests/integration/syntax/each-test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ moduleFor('Syntax test: {{#each as}}', class extends EachTest {
303303
this.assertInvariants();
304304
}
305305

306-
[`@htmlbars it maintains DOM stability for stable keys when list is updated`]() {
306+
[`@test it maintains DOM stability for stable keys when list is updated`]() {
307307
this.render(`{{#each list key="text" as |item|}}{{item.text}}{{/each}}`, {
308308
list: emberA([{ text: 'Hello' }, { text: ' ' }, { text: 'world' }])
309309
});
@@ -318,11 +318,11 @@ moduleFor('Syntax test: {{#each as}}', class extends EachTest {
318318
let list = get(this.context, 'list');
319319
list.unshiftObject({ text: ', ' });
320320
list.unshiftObject({ text: 'Hi' });
321-
list.pushObject({ text: ' ' });
321+
list.pushObject({ text: '!' });
322322
list.pushObject({ text: 'earth' });
323323
});
324324

325-
this.assertText('Hi, Hello world earth');
325+
this.assertText('Hi, Hello world!earth');
326326

327327
this.assertPartialInvariants(2, 5);
328328

0 commit comments

Comments
 (0)