aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@csail.mit.edu>2016-02-26 10:32:08 -0500
committerGravatar Adam Chlipala <adamc@csail.mit.edu>2016-02-26 10:32:08 -0500
commitb0368093645dcb7f65e131862d8ae9c81f2844f2 (patch)
tree1489b634f26d305ef082a44af62b3f7742b4aa6e /tests
parent69e9c6064e7728458a9ba365726706612d10e3f8 (diff)
More consistent formatting for new List functions
Diffstat (limited to 'tests')
-rw-r--r--tests/groupBy.ur3
-rw-r--r--tests/groupBy.urp4
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/groupBy.ur b/tests/groupBy.ur
new file mode 100644
index 00000000..e91e33cc
--- /dev/null
+++ b/tests/groupBy.ur
@@ -0,0 +1,3 @@
+val main : transaction page = return <xml><body>
+ {[List.groupBy eq (1 :: 1 :: 2 :: 2 :: 3 :: 4 :: 4 :: 4 :: 5 :: [])]}
+</body></xml>
diff --git a/tests/groupBy.urp b/tests/groupBy.urp
new file mode 100644
index 00000000..de1db792
--- /dev/null
+++ b/tests/groupBy.urp
@@ -0,0 +1,4 @@
+rewrite all GroupBy/*
+
+$/list
+groupBy