diff --git a/test/looping-test.js b/test/looping-test.js
index a2d9f1d..31bee3c 100644
--- a/test/looping-test.js
+++ b/test/looping-test.js
@@ -99,6 +99,29 @@ test("webc:for issue #139", async t => {
3`);
});
+// looping over iterables that are not Objects or Arrays
+test("webc:for issue #179", async t => {
+ let component = new WebC();
+
+ component.setInputPath("./test/stubs/looping/issue-179-iterables.webc");
+
+ let { html } = await component.compile();
+
+ t.is(html.trim(), `
+
one
+
1
+
two
+
2
+
three
+
3
+
+
+
one
+
two
+
three
+
`);
+});
+
test("script webc:setup feeds data for looping", async t => {
let component = new WebC();
@@ -119,11 +142,11 @@ test("nesting webc:for over component hierarchy", async t => {
component.setInputPath("./test/stubs/looping/complex/entry-point.webc");
let { html } = await component.compile({data:{contacts}});
-
+
t.true(html.indexOf(``) > -1)
t.true(html.indexOf(`