From 9dabb89baa3bb5551fdb2fed740a19bbeed88a26 Mon Sep 17 00:00:00 2001 From: Patrick Steele-Idem Date: Mon, 11 Jan 2016 10:33:27 -0700 Subject: [PATCH] Added test @for and @if on same el --- test/fixtures/templates/for-if-attr/expected.html | 1 + test/fixtures/templates/for-if-attr/template.marko | 3 +++ test/fixtures/templates/for-if-attr/test.js | 1 + 3 files changed, 5 insertions(+) create mode 100644 test/fixtures/templates/for-if-attr/expected.html create mode 100644 test/fixtures/templates/for-if-attr/template.marko create mode 100644 test/fixtures/templates/for-if-attr/test.js diff --git a/test/fixtures/templates/for-if-attr/expected.html b/test/fixtures/templates/for-if-attr/expected.html new file mode 100644 index 000000000..6bc0394bf --- /dev/null +++ b/test/fixtures/templates/for-if-attr/expected.html @@ -0,0 +1 @@ +A , B , C ,
C
\ No newline at end of file diff --git a/test/fixtures/templates/for-if-attr/template.marko b/test/fixtures/templates/for-if-attr/template.marko new file mode 100644 index 000000000..44e43be2d --- /dev/null +++ b/test/fixtures/templates/for-if-attr/template.marko @@ -0,0 +1,3 @@ +
+ ${item} +
\ No newline at end of file diff --git a/test/fixtures/templates/for-if-attr/test.js b/test/fixtures/templates/for-if-attr/test.js new file mode 100644 index 000000000..c4013b344 --- /dev/null +++ b/test/fixtures/templates/for-if-attr/test.js @@ -0,0 +1 @@ +exports.templateData = {};