summaryrefslogtreecommitdiff
path: root/dhall/tests/parser/success/unit
diff options
context:
space:
mode:
authorNadrieril2020-03-20 11:46:46 +0000
committerNadrieril2020-03-20 12:20:38 +0000
commit4ff536cb593aa022e71042ab4fe008e2381b0680 (patch)
tree08fc691ba174831cb85c0fffa474e58e59a47d8c /dhall/tests/parser/success/unit
parente28d9e6f2422f47e250304e053238adc458f6a98 (diff)
Remove more unnecessary parens in printer
Diffstat (limited to 'dhall/tests/parser/success/unit')
-rw-r--r--dhall/tests/parser/success/unit/FunctionApplicationMultipleArgsB.txt2
-rw-r--r--dhall/tests/parser/success/unit/ListLitEmptyPrecedenceB.txt2
-rw-r--r--dhall/tests/parser/success/unit/ListLitNonEmptyAnnotatedB.txt2
-rw-r--r--dhall/tests/parser/success/unit/SomeXYZB.txt2
-rw-r--r--dhall/tests/parser/success/unit/import/HeadersB.txt2
-rw-r--r--dhall/tests/parser/success/unit/import/HeadersDoubleHashB.txt2
-rw-r--r--dhall/tests/parser/success/unit/import/HeadersDoubleHashPrecedenceB.txt2
-rw-r--r--dhall/tests/parser/success/unit/import/HeadersHashPrecedenceB.txt2
-rw-r--r--dhall/tests/parser/success/unit/import/HeadersInteriorHashB.txt2
-rw-r--r--dhall/tests/parser/success/unit/import/inlineUsingB.txt2
10 files changed, 10 insertions, 10 deletions
diff --git a/dhall/tests/parser/success/unit/FunctionApplicationMultipleArgsB.txt b/dhall/tests/parser/success/unit/FunctionApplicationMultipleArgsB.txt
index a1b1c55..71bbe20 100644
--- a/dhall/tests/parser/success/unit/FunctionApplicationMultipleArgsB.txt
+++ b/dhall/tests/parser/success/unit/FunctionApplicationMultipleArgsB.txt
@@ -1 +1 @@
-((f x) y) z
+f x y z
diff --git a/dhall/tests/parser/success/unit/ListLitEmptyPrecedenceB.txt b/dhall/tests/parser/success/unit/ListLitEmptyPrecedenceB.txt
index 604143e..74149c2 100644
--- a/dhall/tests/parser/success/unit/ListLitEmptyPrecedenceB.txt
+++ b/dhall/tests/parser/success/unit/ListLitEmptyPrecedenceB.txt
@@ -1 +1 @@
-[] : (List T) U
+[] : List T U
diff --git a/dhall/tests/parser/success/unit/ListLitNonEmptyAnnotatedB.txt b/dhall/tests/parser/success/unit/ListLitNonEmptyAnnotatedB.txt
index 5144935..3e563c7 100644
--- a/dhall/tests/parser/success/unit/ListLitNonEmptyAnnotatedB.txt
+++ b/dhall/tests/parser/success/unit/ListLitNonEmptyAnnotatedB.txt
@@ -1 +1 @@
-([x, y]) : List T
+[x, y] : List T
diff --git a/dhall/tests/parser/success/unit/SomeXYZB.txt b/dhall/tests/parser/success/unit/SomeXYZB.txt
index 42be8b2..8eb59ac 100644
--- a/dhall/tests/parser/success/unit/SomeXYZB.txt
+++ b/dhall/tests/parser/success/unit/SomeXYZB.txt
@@ -1 +1 @@
-((Some x) y) z
+(Some x) y z
diff --git a/dhall/tests/parser/success/unit/import/HeadersB.txt b/dhall/tests/parser/success/unit/import/HeadersB.txt
index 337a497..47eb98e 100644
--- a/dhall/tests/parser/success/unit/import/HeadersB.txt
+++ b/dhall/tests/parser/success/unit/import/HeadersB.txt
@@ -1 +1 @@
-https://example.com/foo using (x)
+https://example.com/foo using x
diff --git a/dhall/tests/parser/success/unit/import/HeadersDoubleHashB.txt b/dhall/tests/parser/success/unit/import/HeadersDoubleHashB.txt
index bf808c8..31e19eb 100644
--- a/dhall/tests/parser/success/unit/import/HeadersDoubleHashB.txt
+++ b/dhall/tests/parser/success/unit/import/HeadersDoubleHashB.txt
@@ -1 +1 @@
-https://example.com/foo using (./headers sha256:0000000000000000000000000000000000000000000000000000000000000000) sha256:1111111111111111111111111111111111111111111111111111111111111111
+https://example.com/foo using ./headers sha256:0000000000000000000000000000000000000000000000000000000000000000 sha256:1111111111111111111111111111111111111111111111111111111111111111
diff --git a/dhall/tests/parser/success/unit/import/HeadersDoubleHashPrecedenceB.txt b/dhall/tests/parser/success/unit/import/HeadersDoubleHashPrecedenceB.txt
index bf808c8..31e19eb 100644
--- a/dhall/tests/parser/success/unit/import/HeadersDoubleHashPrecedenceB.txt
+++ b/dhall/tests/parser/success/unit/import/HeadersDoubleHashPrecedenceB.txt
@@ -1 +1 @@
-https://example.com/foo using (./headers sha256:0000000000000000000000000000000000000000000000000000000000000000) sha256:1111111111111111111111111111111111111111111111111111111111111111
+https://example.com/foo using ./headers sha256:0000000000000000000000000000000000000000000000000000000000000000 sha256:1111111111111111111111111111111111111111111111111111111111111111
diff --git a/dhall/tests/parser/success/unit/import/HeadersHashPrecedenceB.txt b/dhall/tests/parser/success/unit/import/HeadersHashPrecedenceB.txt
index 15d38db..e2d5899 100644
--- a/dhall/tests/parser/success/unit/import/HeadersHashPrecedenceB.txt
+++ b/dhall/tests/parser/success/unit/import/HeadersHashPrecedenceB.txt
@@ -1 +1 @@
-https://example.com/foo using (./headers sha256:0000000000000000000000000000000000000000000000000000000000000000)
+https://example.com/foo using ./headers sha256:0000000000000000000000000000000000000000000000000000000000000000
diff --git a/dhall/tests/parser/success/unit/import/HeadersInteriorHashB.txt b/dhall/tests/parser/success/unit/import/HeadersInteriorHashB.txt
index 15d38db..e2d5899 100644
--- a/dhall/tests/parser/success/unit/import/HeadersInteriorHashB.txt
+++ b/dhall/tests/parser/success/unit/import/HeadersInteriorHashB.txt
@@ -1 +1 @@
-https://example.com/foo using (./headers sha256:0000000000000000000000000000000000000000000000000000000000000000)
+https://example.com/foo using ./headers sha256:0000000000000000000000000000000000000000000000000000000000000000
diff --git a/dhall/tests/parser/success/unit/import/inlineUsingB.txt b/dhall/tests/parser/success/unit/import/inlineUsingB.txt
index 1434d72..b36afc0 100644
--- a/dhall/tests/parser/success/unit/import/inlineUsingB.txt
+++ b/dhall/tests/parser/success/unit/import/inlineUsingB.txt
@@ -1 +1 @@
-https://example.com/foo using ([{ mapKey = "Authorization", mapValue = "token 5199831f4dd3b79e7c5b7e0ebe75d67aa66e79d4" }])
+https://example.com/foo using [{ mapKey = "Authorization", mapValue = "token 5199831f4dd3b79e7c5b7e0ebe75d67aa66e79d4" }]