Skip to content

Commit 50461b2

Browse files
committed
test(directives/class.spec.js): Added whitespace to test
fix vuejs#12113
1 parent 07916ab commit 50461b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/features/directives/class.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,15 +166,15 @@ describe('Directive v-bind:class', () => {
166166
it('corrects whitespace in staticClass merge in a component', done => {
167167
const vm = new Vue({
168168
template: `
169-
<component1 class="staticClass" :class="componentClass1">
169+
<component1 class="\n\t staticClass \t\n" :class="componentClass1">
170170
</component1>
171171
`,
172172
data: {
173173
componentClass1: 'componentClass1',
174174
},
175175
components: {
176176
component1: {
177-
template: '<div class="test"></div>'
177+
template: '<div class="\n\t test \t\n"></div>'
178178
},
179179
}
180180
}).$mount()

0 commit comments

Comments
 (0)