Skip to content

Commit d07d755

Browse files
(maint) fix template string layout
Prior to this change, the strings for the buttons and checkboxes in the dummy app were broken into multiple independent strings. This caused the text matcher to not find the strings, and as a result the tests would fail. Concatenating these strings again resolved the issue.
1 parent 0dd479b commit d07d755

File tree

2 files changed

+1555
-1721
lines changed

2 files changed

+1555
-1721
lines changed

tests/dummy/app/templates/dynamic-tabs.hbs

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@
3232
>
3333
<span aria-hidden="true">&times;</span>
3434
</button>
35-
36-
Item
37-
{{item.index}}
35+
Item {{item.index}}
3836
</tablist.tab>
3937
</li>
4038
{{/each}}
@@ -68,9 +66,7 @@
6866
type="button"
6967
{{on "click" this.removeSelected}}
7068
>
71-
Remove
72-
{{this.checkedItems.length}}
73-
Item(s)
69+
Remove {{this.checkedItems.length}} Item(s)
7470
</button>
7571

7672
<ul class="list-unstyled">
@@ -83,8 +79,7 @@
8379
checked={{item.checked}}
8480
{{on "input" (fn this.toggleItemCheckedState item)}}
8581
/>
86-
Item
87-
{{item.index}}
82+
Item {{item.index}}
8883
</label>
8984
</div>
9085
</li>

0 commit comments

Comments
 (0)