Skip to content

Commit

Permalink
fix test for normal escaping
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Jan 25, 2018
1 parent 4c66214 commit 5fa02aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/html-tag.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
assert.instanceOf(t.content.lastChild, Comment);
});
test('escaping works as expected', function() {
let t = Polymer.html`<span>\f\o\o</span>`;
assert.equal(t.innerHTML, '<span>\\f\\o\\o</span>');
let t = Polymer.html`<span>the \`price\` is \${{foo}}\n</span>`;
assert.equal(t.innerHTML, '<span>the `price` is ${{foo}}\n</span>');
});
test('variables work', function() {
let a = 3;
Expand Down

0 comments on commit 5fa02aa

Please sign in to comment.