aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authormitermayer <mitermayer.reis@gmail.com>2020-02-12 06:14:08 +0000
committermitermayer <mitermayer.reis@gmail.com>2020-02-12 06:14:19 +0000
commitbf17b2dd12c173c981bcdb72ecab0b2ad712bf59 (patch)
tree34f7f520449b9f63ada5af8cf8c66dcf2b7a04c0 /tests
parent359eb14841c9f95696e02f9e5111e488e418cce6 (diff)
downloadvim-prettier-bf17b2dd12c173c981bcdb72ecab0b2ad712bf59.tar.xz
Adding vue fixture test
Diffstat (limited to 'tests')
-rw-r--r--tests/fixtures/foo.vue14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/fixtures/foo.vue b/tests/fixtures/foo.vue
new file mode 100644
index 0000000..7eb8a4f
--- /dev/null
+++ b/tests/fixtures/foo.vue
@@ -0,0 +1,14 @@
+<template> <div class="example">{{ msg }}</div> </template>
+
+<script>
+export default {
+ data () { return { msg: 'Hello world!' } } }
+</script>
+
+<style>
+.example { color: red; }
+</style>
+
+<custom1>
+ This could be e.g. documentation for the component.
+</custom1>