Skip to content

Commit

Permalink
add an eco test (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
jneen authored and kchmck committed Jul 21, 2011
1 parent 5d208ed commit 0e60494
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/test-eco.html.eco
@@ -0,0 +1,12 @@
<html>
<%# comment %>

<%# basic %>
<%- foo = "1" %>

<%# interpolation %>
<%= " == #{ ( -> "LOL" )() } == " %>

<%# interpolation with nested curlies %>
<%= " == #{ { a: 1, b: { c: 3, d: 4 } } } == " %>
</html>

0 comments on commit 0e60494

Please sign in to comment.