]> WPIA git - gigi.git/blobdiff - tests/org/cacert/gigi/template/TestTemplate.java
FIX: a bug in evaluating sprintf-template-statments
[gigi.git] / tests / org / cacert / gigi / template / TestTemplate.java
index 19b8768df0339c6298147923a0986f79829e41e6..50b1d693a30183626fd57ad16ffb45ddafd2ac28 100644 (file)
@@ -56,6 +56,7 @@ public class TestTemplate {
         assertEquals("This val\"> val3<\" the val4> textl", testExecute(Language.getInstance(Locale.ENGLISH), vars, "<?=s,$!var,$!var2,$!var3,This %s %s the %s text?>l"));
 
         assertEquals("This blargh&lt;&gt;!, <>! textl", testExecute(Language.getInstance(Locale.ENGLISH), vars, "<?=s,\"blargh<>!\",!\"<>!\",This %s, %s text?>l"));
+        assertEquals("This blargh&lt;&gt;!, <>!l", testExecute(Language.getInstance(Locale.ENGLISH), vars, "<?=s,\"blargh<>!\",!\"<>!\",This %s, %s?>l"));
     }
 
     @Test