Skip to content

Commit

Permalink
Test possible issue with line endings on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue committed Aug 29, 2018
1 parent a108bef commit 449aab0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/integration/components/angle-bracket-invocation-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`<Foo\r\n @blah="thing"\r\n></Foo>`);
assert.dom().hasText('hi martin!');
});

test('invoke without block', async function(assert) {
this.owner.register('template:components/foo-bar', hbs`hi martin!`);

Expand Down

0 comments on commit 449aab0

Please sign in to comment.