From b0467db88c83dab5839b047d531c1412c1a52cfc Mon Sep 17 00:00:00 2001 From: Ika Date: Wed, 21 Nov 2018 21:52:28 +0800 Subject: [PATCH 1/4] test: add tests --- tests/html_vue/__snapshots__/jsfmt.spec.js.snap | 4 ++++ tests/html_vue/attributes.vue | 1 + 2 files changed, 5 insertions(+) diff --git a/tests/html_vue/__snapshots__/jsfmt.spec.js.snap b/tests/html_vue/__snapshots__/jsfmt.spec.js.snap index a22e4a0cf375..fed2328473a7 100644 --- a/tests/html_vue/__snapshots__/jsfmt.spec.js.snap +++ b/tests/html_vue/__snapshots__/jsfmt.spec.js.snap @@ -31,6 +31,7 @@ exports[`attributes.vue - vue-verify 1`] = ` console.log(test); } " + @click="doSomething()" > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
`; @@ -122,6 +124,7 @@ exports[`attributes.vue - vue-verify 2`] = ` console.log(test); } " + @click="doSomething()" > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
`; diff --git a/tests/html_vue/attributes.vue b/tests/html_vue/attributes.vue index 80a6c87bd9c1..631d651e413a 100644 --- a/tests/html_vue/attributes.vue +++ b/tests/html_vue/attributes.vue @@ -28,4 +28,5 @@ console.log(test); } " + @click="doSomething()" > From 2e1d8d818c4a51fde6d92dff91c4a892e04c123b Mon Sep 17 00:00:00 2001 From: Ika Date: Wed, 21 Nov 2018 21:53:06 +0800 Subject: [PATCH 2/4] test: add tests --- .../html_vue/__snapshots__/jsfmt.spec.js.snap | 767 +++++++++++++++++- tests/html_vue/jsfmt.spec.js | 1 + 2 files changed, 728 insertions(+), 40 deletions(-) diff --git a/tests/html_vue/__snapshots__/jsfmt.spec.js.snap b/tests/html_vue/__snapshots__/jsfmt.spec.js.snap index fed2328473a7..9754a28c1a62 100644 --- a/tests/html_vue/__snapshots__/jsfmt.spec.js.snap +++ b/tests/html_vue/__snapshots__/jsfmt.spec.js.snap @@ -186,6 +186,99 @@ exports[`attributes.vue - vue-verify 2`] = ` `; +exports[`attributes.vue - vue-verify 3`] = ` +
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +
+ +`; + exports[`board_card.vue - vue-verify 1`] = ` + + +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + + + +`; + exports[`filter.vue - vue-verify 1`] = `