diff options
author | Adam Chlipala <adam@chlipala.net> | 2016-02-07 20:41:34 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2016-02-07 20:41:34 -0500 |
commit | 7b379c724999c4b415b1c3826db748450c7a6571 (patch) | |
tree | 08d7b9d994d351f9480e09f06170f3daf77e8549 /tests | |
parent | 5579b84a97cb942fdfd4c4898793f9de95bc03d1 (diff) |
Finish removing PWild; only load a library once, even if referenced multiple times in a .urp tree
Diffstat (limited to 'tests')
-rw-r--r-- | tests/library.urp | 1 | ||||
-rw-r--r-- | tests/library2.urp | 1 | ||||
-rw-r--r-- | tests/multilib.ur | 3 | ||||
-rw-r--r-- | tests/multilib.urp | 5 |
4 files changed, 10 insertions, 0 deletions
diff --git a/tests/library.urp b/tests/library.urp new file mode 100644 index 00000000..1c4d6fb2 --- /dev/null +++ b/tests/library.urp @@ -0,0 +1 @@ +script /bogus.js diff --git a/tests/library2.urp b/tests/library2.urp new file mode 100644 index 00000000..17b1ad55 --- /dev/null +++ b/tests/library2.urp @@ -0,0 +1 @@ +library library diff --git a/tests/multilib.ur b/tests/multilib.ur new file mode 100644 index 00000000..52c8cb30 --- /dev/null +++ b/tests/multilib.ur @@ -0,0 +1,3 @@ +fun main () : transaction page = return <xml><body> + <button onclick={fn _ => alert "AHA!"}>CLICK ME</button> +</body></xml> diff --git a/tests/multilib.urp b/tests/multilib.urp new file mode 100644 index 00000000..b33d66e4 --- /dev/null +++ b/tests/multilib.urp @@ -0,0 +1,5 @@ +library library +library library2 +rewrite all Multilib/* + +multilib |