Skip to content

Commit

Permalink
Add a test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Drup committed May 7, 2016
1 parent af32a15 commit e6b7ca0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/mustache.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
open Tyxml

let%template f ={|
Hello {{name}}
You have just won {{value}} dollars!
{{#repo}}
<b>{{foo}}</b> {{name}}
{{/repo}}
{{^repo}}
No repos :(
{{/repo}}
|}

0 comments on commit e6b7ca0

Please sign in to comment.