Skip to content

Commit

Permalink
test html trimming
Browse files Browse the repository at this point in the history
  • Loading branch information
shannonmoeller committed Aug 20, 2018
1 parent 341fe56 commit 57b415c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/node.js
Expand Up @@ -39,7 +39,7 @@ test('should interpolate values', async (t) => {
encode(raw('<em>foo</em>')),
];

const actual = html`Hi ${values}`;
const actual = html` Hi ${values} `;
const expected = `Hi 0123{&quot;foo&quot;:&quot;bar&quot;}&lt;em&gt;foo&lt;/em&gt;<em>foo</em>&lt;em&gt;foo&lt;/em&gt;<em>foo</em>`;

t.equal(actual.length, expected.length);
Expand Down

0 comments on commit 57b415c

Please sign in to comment.