Skip to content

Commit

Permalink
drop trailing space
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Nov 24, 2020
1 parent 215d30a commit a17f9e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lighthouse-core/test/lib/page-functions-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ describe('Page Functions', () => {

it('Truncates long text containing unicode surrogate pairs', () => {
const el = dom.createElement('div');
// `getNodeLabel` truncates to 80 characters internally.
// `getNodeLabel` truncates to 80 characters internally.
// We want to test a unicode character on the boundary.
el.innerText = Array(78).fill('a').join('') + '💡💡💡';
assert.equal(pageFunctions.getNodeLabel(el), Array(78).fill('a').join('') + '💡…');
Expand Down

0 comments on commit a17f9e1

Please sign in to comment.