diff --git a/tests/parse-result-test.js b/tests/parse-result-test.js index 0a0a24d4..ff39f75d 100644 --- a/tests/parse-result-test.js +++ b/tests/parse-result-test.js @@ -22,6 +22,16 @@ QUnit.module('ember-template-recast', function() { assert.equal(print(ast), ``); }); + QUnit.test('test descriptions with carets pass', function(assert) { + let template = `it('<' function() { + 'something'; + })`; + + let ast = parse(template); + + assert.equal(print(ast), template); + }); + QUnit.test('changing an element to a void element does not print closing tag', function( assert ) {