Skip to content

Commit

Permalink
Add a test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Drup committed Feb 25, 2017
1 parent 424779d commit 1e2714f
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 1e2714f

Please sign in to comment.