From 3175b8ce1e20a2e504469e366ef243c4de313be1 Mon Sep 17 00:00:00 2001 From: simonihmig Date: Mon, 24 May 2021 18:09:11 +0200 Subject: [PATCH] Fix tests after removed deprecations --- .../integration/components/input-angle-test.js | 16 ++++++++-------- .../integration/components/input-curly-test.js | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/packages/@ember/-internals/glimmer/tests/integration/components/input-angle-test.js b/packages/@ember/-internals/glimmer/tests/integration/components/input-angle-test.js index 1e179077137..ec21206c4a3 100644 --- a/packages/@ember/-internals/glimmer/tests/integration/components/input-angle-test.js +++ b/packages/@ember/-internals/glimmer/tests/integration/components/input-angle-test.js @@ -557,7 +557,7 @@ moduleFor( ['@test [DEPRECATED] sends an action with `` when is pressed']( assert ) { - assert.expect(4); + assert.expect(3); expectDeprecation(() => { this.render(``, { @@ -577,7 +577,7 @@ moduleFor( ['@test sends an action with `` when is pressed']( assert ) { - assert.expect(2); + assert.expect(1); this.render(``, { actions: { @@ -593,7 +593,7 @@ moduleFor( } ['@test [DEPRECATED] sends an action with `` is pressed'](assert) { - assert.expect(4); + assert.expect(3); expectDeprecation(() => { this.render(``, { @@ -687,7 +687,7 @@ moduleFor( } ['@test sends `insert-newline` when is pressed'](assert) { - assert.expect(2); + assert.expect(1); this.render(``, { actions: { @@ -705,7 +705,7 @@ moduleFor( ['@test [DEPRECATED] sends an action with `` when is pressed']( assert ) { - assert.expect(4); + assert.expect(3); expectDeprecation(() => { this.render(``, { @@ -725,7 +725,7 @@ moduleFor( ['@test sends an action with `` when is pressed']( assert ) { - assert.expect(2); + assert.expect(1); this.render(``, { actions: { @@ -741,7 +741,7 @@ moduleFor( ['@test [DEPRECATED] sends an action with `` when a key is pressed']( assert ) { - assert.expect(4); + assert.expect(3); expectDeprecation(() => { this.render(``, { @@ -786,7 +786,7 @@ moduleFor( ['@test [DEPRECATED] sends an action with `` when a key is pressed']( assert ) { - assert.expect(4); + assert.expect(3); expectDeprecation(() => { this.render(``, { diff --git a/packages/@ember/-internals/glimmer/tests/integration/components/input-curly-test.js b/packages/@ember/-internals/glimmer/tests/integration/components/input-curly-test.js index e88aaa41ba1..8d3cf3f8c19 100644 --- a/packages/@ember/-internals/glimmer/tests/integration/components/input-curly-test.js +++ b/packages/@ember/-internals/glimmer/tests/integration/components/input-curly-test.js @@ -387,7 +387,7 @@ moduleFor( ['@test [DEPRECATED] sends an action with `{{input enter="foo"}}` when is pressed']( assert ) { - assert.expect(4); + assert.expect(3); expectDeprecation(() => { this.render(`{{input enter='foo'}}`, { @@ -407,7 +407,7 @@ moduleFor( ['@test sends an action with `{{input enter=(action "foo")}}` when is pressed']( assert ) { - assert.expect(2); + assert.expect(1); this.render(`{{input enter=(action 'foo')}}`, { actions: { @@ -423,7 +423,7 @@ moduleFor( } ['@test [DEPRECATED] sends an action with `{{input key-press="foo"}}` is pressed'](assert) { - assert.expect(4); + assert.expect(3); expectDeprecation(() => { this.render(`{{input value=this.value key-press='foo'}}`, { @@ -517,7 +517,7 @@ moduleFor( } ['@test sends `insert-newline` when is pressed'](assert) { - assert.expect(2); + assert.expect(1); this.render(`{{input insert-newline=(action 'foo')}}`, { actions: { @@ -535,7 +535,7 @@ moduleFor( ['@test [DEPRECATED] sends an action with `{{input escape-press="foo"}}` when is pressed']( assert ) { - assert.expect(4); + assert.expect(3); expectDeprecation(() => { this.render(`{{input escape-press='foo'}}`, { @@ -555,7 +555,7 @@ moduleFor( ['@test sends an action with `{{input escape-press=(action "foo")}}` when is pressed']( assert ) { - assert.expect(2); + assert.expect(1); this.render(`{{input escape-press=(action 'foo')}}`, { actions: { @@ -571,7 +571,7 @@ moduleFor( ['@test [DEPRECATED] sends an action with `{{input key-down="foo"}}` when a key is pressed']( assert ) { - assert.expect(4); + assert.expect(3); expectDeprecation(() => { this.render(`{{input key-down='foo'}}`, { @@ -616,7 +616,7 @@ moduleFor( ['@test [DEPRECATED] sends an action with `{{input key-up="foo"}}` when a key is pressed']( assert ) { - assert.expect(4); + assert.expect(3); expectDeprecation(() => { this.render(`{{input key-up='foo'}}`, {