diff tests/eq.ur @ 388:2e93d18daf44

Monoize eq_[bool|string]
author Adam Chlipala <adamc@hcoop.net>
date Tue, 21 Oct 2008 09:52:52 -0400
parents 7abb28e9d51f
children
line wrap: on
line diff
--- a/tests/eq.ur	Tue Oct 21 09:50:19 2008 -0400
+++ b/tests/eq.ur	Tue Oct 21 09:52:52 2008 -0400
@@ -1,4 +1,8 @@
 fun main () : transaction page = return <xml><body>
   {txt _ (1 = 1)}, {txt _ (1 = 2)}<br/>
-  {txt _ (1 <> 1)}, {txt _ (1 <> 2)}
+  {txt _ (1 <> 1)}, {txt _ (1 <> 2)}<br/>
+  {txt _ (True = True)}, {txt _ (True = False)}<br/>
+  {txt _ (True <> True)}, {txt _ (True <> False)}<br/>
+  {txt _ ("A" = "A")}, {txt _ ("A" = "B")}<br/>
+  {txt _ ("A" <> "A")}, {txt _ ("A" <> "B")}<br/>
 </body></xml>