diff options
Diffstat (limited to 'test/astro-expr.test.js')
-rw-r--r-- | test/astro-expr.test.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/astro-expr.test.js b/test/astro-expr.test.js index 689c32ced..ea461af4b 100644 --- a/test/astro-expr.test.js +++ b/test/astro-expr.test.js @@ -11,10 +11,10 @@ Expressions('Can load page', async ({ runtime }) => { const result = await runtime.load('/'); assert.equal(result.statusCode, 200); - + const $ = doc(result.contents); - for(let col of ['red', 'yellow', 'blue']) { + for (let col of ['red', 'yellow', 'blue']) { assert.equal($('#' + col).length, 1); } }); @@ -23,10 +23,10 @@ Expressions('Ignores characters inside of strings', async ({ runtime }) => { const result = await runtime.load('/strings'); assert.equal(result.statusCode, 200); - + const $ = doc(result.contents); - for(let col of ['red', 'yellow', 'blue']) { + for (let col of ['red', 'yellow', 'blue']) { assert.equal($('#' + col).length, 1); } }); @@ -34,10 +34,10 @@ Expressions('Ignores characters inside of strings', async ({ runtime }) => { Expressions('Ignores characters inside of line comments', async ({ runtime }) => { const result = await runtime.load('/line-comments'); assert.equal(result.statusCode, 200); - + const $ = doc(result.contents); - for(let col of ['red', 'yellow', 'blue']) { + for (let col of ['red', 'yellow', 'blue']) { assert.equal($('#' + col).length, 1); } }); @@ -45,10 +45,10 @@ Expressions('Ignores characters inside of line comments', async ({ runtime }) => Expressions('Ignores characters inside of multiline comments', async ({ runtime }) => { const result = await runtime.load('/multiline-comments'); assert.equal(result.statusCode, 200); - + const $ = doc(result.contents); - for(let col of ['red', 'yellow', 'blue']) { + for (let col of ['red', 'yellow', 'blue']) { assert.equal($('#' + col).length, 1); } }); |