Skip to content

Commit 07916ab

Browse files
committed
test(ssr-string.spec.js): Removed newline character, as whitespace is 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
1 parent 77be124 commit 07916ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ssr/ssr-string.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1351,7 +1351,7 @@ describe('SSR: renderToString', () => {
13511351
</div>
13521352
`
13531353
}, result => {
1354-
expect(result).toContain(`<div class="a\nb"></div>`)
1354+
expect(result).toContain(`<div class="a b"></div>`)
13551355
done()
13561356
})
13571357
})

0 commit comments

Comments
 (0)