Skip to content

Commit e6b7ca0

Browse files
committed
Add a test.
1 parent af32a15 commit e6b7ca0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/mustache.ml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
open Tyxml
2+
3+
let%template f ={|
4+
Hello {{name}}
5+
You have just won {{value}} dollars!
6+
{{#repo}}
7+
<b>{{foo}}</b> {{name}}
8+
{{/repo}}
9+
{{^repo}}
10+
No repos :(
11+
{{/repo}}
12+
|}

0 commit comments

Comments
 (0)