From e9a4d23b368cd53d2e87f5e9537c995c10d18906 Mon Sep 17 00:00:00 2001 From: Sahab Yazdani Date: Mon, 4 Jul 2011 14:10:38 -0400 Subject: [PATCH] Add partials + change delimeters test --- test/unit.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/unit.js b/test/unit.js index 9704016..2c82be4 100644 --- a/test/unit.js +++ b/test/unit.js @@ -717,4 +717,13 @@ test("Regression Suite", function() { , 'foobar' , 'Nested Sections with the same name' ); + + equals( + Mustache.to_html( + '{{=~~ ~~=}} ~~>staticInfoPanel~~ ~~={{ }}=~~' + , {} + , { staticInfoPanel: 'Hello' } + ) + , ' Hello ' + , 'Change Delimiter + Partial'); }); \ No newline at end of file