File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -387,13 +387,13 @@ function basicTest(scenarios: Scenarios, appName: string) {
387387
388388 await render(
389389 <template>
390- <span data-test="eq" >{{if ( eq a b) "yes" "no" }}</span>
391- <span data-test=" neq" >{{if ( neq a b) "yes" "no" }}</span>
390+ <span data-eq >{{eq a b}}</span>
391+ <span data-neq>{{neq a b}}</span>
392392 </template>
393393 );
394394
395- assert.dom('[data-test="eq" ]').hasText('yes ');
396- assert.dom('[data-test=" neq" ]').hasText('no ');
395+ assert.dom('[data-eq ]').hasText('true ');
396+ assert.dom('[data-neq]').hasText('false ');
397397 });
398398
399399 test('can be shadowed', async function (assert) {
@@ -404,13 +404,13 @@ function basicTest(scenarios: Scenarios, appName: string) {
404404
405405 await render(
406406 <template>
407- <span data-test="eq" >{{if ( eq a b) "yes" "no" }}</span>
408- <span data-test=" neq" >{{if ( neq a b) "yes" "no" }}</span>
407+ <span data-eq >{{eq a b}}</span>
408+ <span data-neq>{{neq a b}}</span>
409409 </template>
410410 );
411411
412- assert.dom('[data-test="eq" ]').hasText('surprise:eq');
413- assert.dom('[data-test=" neq" ]').hasText('surprise:neq');
412+ assert.dom('[data-eq ]').hasText('surprise:eq');
413+ assert.dom('[data-neq]').hasText('surprise:neq');
414414 });
415415 });
416416 ` ,
You can’t perform that action at this time.
0 commit comments