DEV: Fix failing test on CI due to whitespace differences

I could not replicate the failure locally, but it was consistently
failing on CI with:

```
  Assertion Failed: it should escape watched words

      Expected:  <img src="x">, Actual:  <img src="x">
```

This commit removes an extra space that was added originally, but I
don't think it is really needed after double checking how it displays in
the UI. The `x` icon and the word have sufficient spacing between them.
If we need to we can tweak it in css instead.
This commit is contained in:
Blake Erickson 2019-11-27 17:19:23 -07:00
parent dcada66aa0
commit 2bb36d72a3
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
{{xIcon}} {{watchedWord}}
{{xIcon}}{{watchedWord}}

View File

@ -34,7 +34,7 @@ QUnit.test("list words in groups", async assert => {
assert.equal(
$(find(".watched-words-list .watched-word")[2]).text(),
' <img src="x">',
'<img src="x">',
"it should escape watched words"
);