[Checkins] SVN: Sandbox/malthe/chameleon.genshi/src/chameleon/genshi/language.txt Added failing test.

Malthe Borch mborch at gmail.com
Thu Nov 13 13:23:15 EST 2008


Log message for revision 92912:
  Added failing test.

Changed:
  U   Sandbox/malthe/chameleon.genshi/src/chameleon/genshi/language.txt

-=-
Modified: Sandbox/malthe/chameleon.genshi/src/chameleon/genshi/language.txt
===================================================================
--- Sandbox/malthe/chameleon.genshi/src/chameleon/genshi/language.txt	2008-11-13 17:04:06 UTC (rev 92911)
+++ Sandbox/malthe/chameleon.genshi/src/chameleon/genshi/language.txt	2008-11-13 18:23:15 UTC (rev 92912)
@@ -235,6 +235,16 @@
       <span style="position: absolute" class="my-class itemLast" />
     </div>
 
+  >>> print render("""\
+  ... <div xmlns="http://www.w3.org/1999/xhtml"
+  ...      xmlns:py="http://genshi.edgewall.org/">
+  ...   ${'$'}{22*2-2} = ${22*2-2}
+  ... </div>""")
+  <div>
+    ${22*2-2} = 42
+  </div>
+
+
 :: Simple variable names do not need { .. }. From `py:with specs`_.
 
   >>> print render("""\



More information about the Checkins mailing list