it('trims whitespace after truncating', function () {
    expect(tpl({str: 'foo bar bar', len: 4})).to.equal('foo…');
  });