diff options
Diffstat (limited to 'tests/toString.ur')
-rw-r--r-- | tests/toString.ur | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/toString.ur b/tests/toString.ur index f51ef098..6a22fe64 100644 --- a/tests/toString.ur +++ b/tests/toString.ur @@ -1,5 +1,6 @@ fun main () : transaction page = return <html><body> - 6 = {cdata (intToString 6)}<br/> - 12.34 = {cdata (floatToString 12.34)}<br/> - False = {cdata (boolToString False)}<br/> + 6 = {cdata (show _ 6)}<br/> + 12.34 = {cdata (show _ 12.34)}<br/> + Hi = {cdata (show _ "Hi")}<br/> + False = {cdata (show _ False)}<br/> </body></html> |