Mercurial > urweb
annotate tests/makeUrl.ur @ 1993:3d1d44111906
Change Basis.getenv to return None outside the context of a web request
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Tue, 04 Mar 2014 08:46:33 -0500 |
parents | 217eb87dde31 |
children |
rev | line source |
---|---|
adamc@1065 | 1 fun other () = return <xml>Hi!</xml> |
adamc@1065 | 2 |
adamc@1065 | 3 fun main () = return <xml>{[Basis.url (main ())]}, {[url (other ())]}</xml> |