From cfd4908cee4e40a9c721a449e7575483e248aa08 Mon Sep 17 00:00:00 2001 From: Drup Date: Mon, 18 Apr 2016 04:24:17 +0200 Subject: [PATCH] Add a test. --- test/mustache.ml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/mustache.ml diff --git a/test/mustache.ml b/test/mustache.ml new file mode 100644 index 000000000..89a22120f --- /dev/null +++ b/test/mustache.ml @@ -0,0 +1,12 @@ +open Tyxml + +let%template f ={| +Hello {{name}} +You have just won {{value}} dollars! +{{#repo}} + {{foo}} {{name}} +{{/repo}} +{{^repo}} + No repos :( +{{/repo}} +|}