message: Add more surround plugin tests
diff: @@ -16,28 +16,69 @@ suite('surround plugin', () => {
  teardown(cleanUpWorkspace);
  newTest({
  - title: 'ysiw) surrounds word',
  + title: "'ysiw)' surrounds word without space",
  start: ['first li|ne test'],
  keysPressed: 'ysiw)',
  end: ['first (|line) test'],
  });
  newTest({
  - title: 'ysiw< surrounds word with tags',
  + title: "'ysiw(' surrounds word with space",
  + start: ['first li|ne test'],
  + keysPressed: 'ysiw(',
  + end: ['first ( |line ) test'],
  + });
  +
  + newTest({
  + title: "'ysw)' surrounds word without space",
  + start: ['first |line test'],
  + keysPressed: 'ysw)',
  + end: ['first (|line) test'],
  + });
  +
  + newTest({
  + title: "'ysw(' surrounds word with space",
  + start: ['first |line test'],
  + keysPressed: 'ysw(',
  + end: ['first ( |line ) test'],
  + });
  + newTest({
  + title: "'ysaw)' surrounds word without space",
  + start: ['first li|ne test'],
  + keysPressed: 'ysaw)',
  + end: ['first (|line) test'],
  + });
  +
  + newTest({
  + title: "'ysaw(' surrounds word with space",
  + start: ['first li|ne test'],
  + keysPressed: 'ysaw(',
  + end: ['first ( |line ) test'],
  + });
  +
  + newTest({
  + title: "'ysiw(' surrounds word with space and ignores punctuation",
  + start: ['first li|ne.test'],
  + keysPressed: 'ysiw(',
  + end: ['first ( |line ).test'],
  + });
  +
  + newTest({
  + title: "'ysiw<' surrounds word with tags",
  start: ['first li|ne test'],
  keysPressed: 'ysiw<123>',
  end: ['first <123>|line</123> test'],
  });
  newTest({
  - title: 'ysiw< surrounds word with tags and attributes',
  + title: "'ysiw<' surrounds word with tags and attributes",
  start: ['first li|ne test'],
  keysPressed: 'ysiw<abc attr1 attr2="test">',
  end: ['first <abc attr1 attr2="test">|line</abc> test'],
  });
  newTest({
  - title: 'yss) surrounds entire line respecting whitespace',
  + title: "'yss)' surrounds entire line respecting whitespace",
  start: ['foo', ' foob|ar '],
  keysPressed: 'yss)',
  end: ['foo', ' (|foobar) '],
  