Skip to content

Commit

Permalink
test(ssr-string.spec.js): Removed newline character, as whitespace is…
Browse files Browse the repository at this point in the history
… purged in static classes

There's no need to escape newlines in static classes, as they're now replaced with a single
whitespace character

fix vuejs#12113
  • Loading branch information
royeden committed Aug 24, 2021
1 parent 77be124 commit 07916ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ssr/ssr-string.spec.js
Expand Up @@ -1351,7 +1351,7 @@ describe('SSR: renderToString', () => {
</div>
`
}, result => {
expect(result).toContain(`<div class="a\nb"></div>`)
expect(result).toContain(`<div class="a b"></div>`)
done()
})
})
Expand Down

0 comments on commit 07916ab

Please sign in to comment.