@@ -710,6 +1021,64 @@ trailingComma: "es5"
================================================================================
`;
+exports[`filter.vue 3`] = `
+====================================options=====================================
+parsers: ["vue"]
+printWidth: 80
+semi: false
+ | printWidth
+=====================================input======================================
+
+
+ {{value | thisIsARealSuperLongFilterPipe("arg1", arg2) | anotherPipeLongJustForFun | pipeTheThird}}
+
+
+
+
+
+=====================================output=====================================
+
+
+
+ {{
+ value
+ | thisIsARealSuperLongFilterPipe("arg1", arg2)
+ | anotherPipeLongJustForFun
+ | pipeTheThird
+ }}
+
+
+
+
+
+
+================================================================================
+`;
+
exports[`interpolations.vue 1`] = `
====================================options=====================================
parsers: ["vue"]
@@ -971,10 +1340,247 @@ x => {
================================================================================
`;
-exports[`pre-child.vue 1`] = `
+exports[`interpolations.vue 3`] = `
+====================================options=====================================
+parsers: ["vue"]
+printWidth: 80
+semi: false
+ | printWidth
+=====================================input======================================
+
+Fuga magnam facilis. Voluptatem quaerat porro.{{
+
+
+x => {
+ const hello = 'world'
+ return hello;
+}
+
+
+
+}} Magni consectetur in et molestias neque esse voluptatibus voluptas. {{
+
+
+ some_variable
+
+
+
+}} Eum quia nihil nulla esse. Dolorem asperiores vero est error {{
+
+ preserve
+
+ invalid
+
+ interpolation
+
+}} reprehenderit voluptates minus {{console.log( short_interpolation )}} nemo.
+
+
+
+
+ 1234567890123456789012345678901234567890123456789012345678901234567890{{ something }}1234567890
+
+
+ 1234567890123456789012345678901234567890123456789012345678901234567890 {{ something }}1234567890
+
+
+ 1234567890123456789012345678901234567890123456789012345678901234567890{{ something }} 1234567890
+
+
+ 1234567890123456789012345678901234567890123456789012345678901234567890 {{ something }} 1234567890
+
+
+
+=====================================output=====================================
+
+
+ Fuga magnam facilis. Voluptatem quaerat porro.{{
+ x => {
+ const hello = "world"
+ return hello
+ }
+ }}
+ Magni consectetur in et molestias neque esse voluptatibus voluptas.
+ {{ some_variable }} Eum quia nihil nulla esse. Dolorem asperiores vero est
+ error
+ {{
+
+ preserve
+
+ invalid
+
+ interpolation
+
+ }}
+ reprehenderit voluptates minus {{ console.log(short_interpolation) }} nemo.
+
+
+
+
+
+ 1234567890123456789012345678901234567890123456789012345678901234567890{{
+ something
+ }}1234567890
+
+
+ 1234567890123456789012345678901234567890123456789012345678901234567890
+ {{ something }}1234567890
+
+
+ 1234567890123456789012345678901234567890123456789012345678901234567890{{
+ something
+ }}
+ 1234567890
+
+
+ 1234567890123456789012345678901234567890123456789012345678901234567890
+ {{ something }} 1234567890
+
+
+
+================================================================================
+`;
+
+exports[`pre-child.vue 1`] = `
+====================================options=====================================
+parsers: ["vue"]
+printWidth: 80
+ | printWidth
+=====================================input======================================
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ code }}
+
+
+
+
+
+ {{ stuff }}
+
+
+
+
+
+ 123{{ wqeqwwqwqweqweqwewwq || wqeqwwqwqweqweqwewwq || wqeqwwqwqweqweqwewwq || wqeqwwqwqweqweqwewwq }}123
+ 123{{ wqeqwwqwqweqweqwewwq || wqeqwwqwqweqweqwewwq || wqeqwwqwqweqweqwewwq || wqeqwwqwqweqweqwewwq }}123
+
+
+
+=====================================output=====================================
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ code }}
+
+
+
+
+
+ {{ stuff }}
+
+
+
+
+
+ 123{{
+ wqeqwwqwqweqweqwewwq ||
+ wqeqwwqwqweqweqwewwq ||
+ wqeqwwqwqweqweqwewwq ||
+ wqeqwwqwqweqweqwewwq
+ }}123
+ 123{{
+ wqeqwwqwqweqweqwewwq ||
+ wqeqwwqwqweqweqwewwq ||
+ wqeqwwqwqweqweqwewwq ||
+ wqeqwwqwqweqweqwewwq
+ }}123
+
+
+
+================================================================================
+`;
+
+exports[`pre-child.vue 2`] = `
====================================options=====================================
parsers: ["vue"]
printWidth: 80
+trailingComma: "es5"
| printWidth
=====================================input======================================
@@ -1076,11 +1682,11 @@ printWidth: 80
================================================================================
`;
-exports[`pre-child.vue 2`] = `
+exports[`pre-child.vue 3`] = `
====================================options=====================================
parsers: ["vue"]
printWidth: 80
-trailingComma: "es5"
+semi: false
| printWidth
=====================================input======================================
@@ -1215,6 +1821,23 @@ trailingComma: "es5"
================================================================================
`;
+exports[`script_src.vue 3`] = `
+====================================options=====================================
+parsers: ["vue"]
+printWidth: 80
+semi: false
+ | printWidth
+=====================================input======================================
+
+
+
+=====================================output=====================================
+
+
+
+================================================================================
+`;
+
exports[`self_closing.vue 1`] = `
====================================options=====================================
parsers: ["vue"]
@@ -1304,6 +1927,51 @@ foo();
================================================================================
`;
+exports[`self_closing.vue 3`] = `
+====================================options=====================================
+parsers: ["vue"]
+printWidth: 80
+semi: false
+ | printWidth
+=====================================input======================================
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+=====================================output=====================================
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+================================================================================
+`;
+
exports[`self_closing_style.vue 1`] = `
====================================options=====================================
parsers: ["vue"]
@@ -1349,6 +2017,29 @@ trailingComma: "es5"
================================================================================
`;
+exports[`self_closing_style.vue 3`] = `
+====================================options=====================================
+parsers: ["vue"]
+printWidth: 80
+semi: false
+ | printWidth
+=====================================input======================================
+
+
+
+
+
+
+=====================================output=====================================
+
+
+
+
+
+
+================================================================================
+`;
+
exports[`tag-name.vue 1`] = `
====================================options=====================================
parsers: ["vue"]
@@ -1386,6 +2077,25 @@ trailingComma: "es5"
================================================================================
`;
+exports[`tag-name.vue 3`] = `
+====================================options=====================================
+parsers: ["vue"]
+printWidth: 80
+semi: false
+ | printWidth
+=====================================input======================================
+
+
+
+
+=====================================output=====================================
+
+
+
+
+================================================================================
+`;
+
exports[`template.vue 1`] = `
====================================options=====================================
parsers: ["vue"]
@@ -1517,6 +2227,72 @@ trailingComma: "es5"
================================================================================
`;
+exports[`template.vue 3`] = `
+====================================options=====================================
+parsers: ["vue"]
+printWidth: 80
+semi: false
+ | printWidth
+=====================================input======================================
+
+
+
+
+
+
+
+ {{ fileSizeReadable }}
+
+
+ |
+
+
+ W: {{ width }} | H: {{ height }}
+
+
+
+
+
+
+=====================================output=====================================
+
+
+
+
+
+
+
+ {{ fileSizeReadable }}
+
+
+ |
+
+
+ W: {{ width }} | H: {{ height }}
+
+
+
+
+
+
+================================================================================
+`;
+
exports[`template-lang.vue 1`] = `
====================================options=====================================
parsers: ["vue"]
@@ -1572,6 +2348,45 @@ trailingComma: "es5"
+ lang='pug'>
+ .test
+ #foo
+ .bla
+
+
+=====================================output=====================================
+
+ .test
+ #foo
+ .bla
+
+
+
+ .test
+ #foo
+ .bla
+
+
+================================================================================
+`;
+
+exports[`template-lang.vue 3`] = `
+====================================options=====================================
+parsers: ["vue"]
+printWidth: 80
+semi: false
+ | printWidth
+=====================================input======================================
+
+ .test
+ #foo
+ .bla
+
+
+
.test
#foo
@@ -1650,3 +2465,32 @@ trailingComma: "es5"
================================================================================
`;
+
+exports[`test.vue 3`] = `
+====================================options=====================================
+parsers: ["vue"]
+printWidth: 80
+semi: false
+ | printWidth
+=====================================input======================================
+
+
+
+
+
+
+
+=====================================output=====================================
+
+
+
+
+
+
+
+================================================================================
+`;
diff --git a/tests/html_vue/attributes.vue b/tests/html_vue/attributes.vue
index 09c3faa909c2..17f6b534f002 100644
--- a/tests/html_vue/attributes.vue
+++ b/tests/html_vue/attributes.vue
@@ -29,5 +29,7 @@
console.log(test);
}
"
+ @click="doSomething()"
+ @click="doSomething;"
>