diff --git a/dhall/tests/Format.hs b/dhall/tests/Format.hs index 0af59c8..c203100 100644 --- a/dhall/tests/Format.hs +++ b/dhall/tests/Format.hs @@ -32,6 +32,10 @@ formatTests = Unicode "preserve the original order of fields" "fieldOrder" + , should + Unicode + "preserve the original order of projections" + "projectionOrder" , should Unicode "escape numeric labels correctly" diff --git a/dhall/tests/format/projectionOrderA.dhall b/dhall/tests/format/projectionOrderA.dhall new file mode 100644 index 0000000..3f45477 --- /dev/null +++ b/dhall/tests/format/projectionOrderA.dhall @@ -0,0 +1 @@ +e.{ foo, bar, baz } diff --git a/dhall/tests/format/projectionOrderB.dhall b/dhall/tests/format/projectionOrderB.dhall new file mode 100644 index 0000000..612ef46 --- /dev/null +++ b/dhall/tests/format/projectionOrderB.dhall @@ -0,0 +1 @@ +e.{ foo, bar, baz } \ No newline at end of file