From 6903ba6011ccee8cb1368fb9a3b87d4552e3517d Mon Sep 17 00:00:00 2001 From: Jesse Skinner Date: Tue, 18 Aug 2020 15:20:12 -0400 Subject: [PATCH] Added failing test for issue #110, Error when parsing dynamic attributes expressions --- test/formatting/samples/expand-attribute-shorthand/input.html | 1 + .../formatting/samples/expand-attribute-shorthand/options.json | 3 +++ test/formatting/samples/expand-attribute-shorthand/output.html | 1 + 3 files changed, 5 insertions(+) create mode 100644 test/formatting/samples/expand-attribute-shorthand/input.html create mode 100644 test/formatting/samples/expand-attribute-shorthand/options.json create mode 100644 test/formatting/samples/expand-attribute-shorthand/output.html diff --git a/test/formatting/samples/expand-attribute-shorthand/input.html b/test/formatting/samples/expand-attribute-shorthand/input.html new file mode 100644 index 00000000..ed6b800d --- /dev/null +++ b/test/formatting/samples/expand-attribute-shorthand/input.html @@ -0,0 +1 @@ +
diff --git a/test/formatting/samples/expand-attribute-shorthand/options.json b/test/formatting/samples/expand-attribute-shorthand/options.json new file mode 100644 index 00000000..e495e729 --- /dev/null +++ b/test/formatting/samples/expand-attribute-shorthand/options.json @@ -0,0 +1,3 @@ +{ + "svelteAllowShorthand": false +} diff --git a/test/formatting/samples/expand-attribute-shorthand/output.html b/test/formatting/samples/expand-attribute-shorthand/output.html new file mode 100644 index 00000000..0c60ae9e --- /dev/null +++ b/test/formatting/samples/expand-attribute-shorthand/output.html @@ -0,0 +1 @@ +