Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0d60edbf4e
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (19 sloc) 0.601 kb
{compile} = require "../lib/compiler"
{fixture} = require "./lib/fixtures"
module.exports =
"compiling fixtures/hello.eco": (test) ->
test.ok compile fixture("hello.eco")
test.done()
"compiling fixtures/projects.eco": (test) ->
test.ok compile fixture("projects.eco")
test.done()
"compiling fixtures/helpers.eco": (test) ->
test.ok compile fixture("helpers.eco")
test.done()
"parse error throws exception": (test) ->
test.expect 1
try
compile "<% unclosed tag"
catch err
test.ok err.toString().match /^Parse error on line 1/
test.done()
Jump to Line
Something went wrong with that request. Please try again.