From 449aab006b492fa8c2084c43d87ff414bcc1aa88 Mon Sep 17 00:00:00 2001 From: Robert Jackson Date: Wed, 29 Aug 2018 09:17:55 -0400 Subject: [PATCH] Test possible issue with line endings on Windows. --- .../components/angle-bracket-invocation-test.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/integration/components/angle-bracket-invocation-test.js b/tests/integration/components/angle-bracket-invocation-test.js index 3f587d1..5fa0f4a 100644 --- a/tests/integration/components/angle-bracket-invocation-test.js +++ b/tests/integration/components/angle-bracket-invocation-test.js @@ -33,6 +33,13 @@ module('Integration | Component | angle-bracket-invocation', function(hooks) { assert.dom().hasText('hi martin!'); }); + test('multiline component invocation using windows line endings without spaces after open element (😩)', async function(assert) { + this.owner.register('template:components/foo', hbs`hi martin!`); + + await render(hbs``); + assert.dom().hasText('hi martin!'); + }); + test('invoke without block', async function(assert) { this.owner.register('template:components/foo-bar', hbs`hi martin!`);