Skip to content

Commit 53320c8

Browse files
sjakobimergify[bot]
authored andcommitted
Add regression tests for #1400 (#1536)
Fixes #1400.
1 parent dedd5e0 commit 53320c8

File tree

4 files changed

+52
-0
lines changed

4 files changed

+52
-0
lines changed

dhall/tests/format/issue1400-1A.dhall

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{ conversation =
2+
[ { author = "robert", content = [] }
3+
, { author = "robert", content = [] }
4+
, { author =
5+
"bob"
6+
, content =
7+
[ text
8+
''
9+
any line going past the 80 characters boundary (e.g. this one is 82)
10+
''
11+
]
12+
}
13+
]
14+
}

dhall/tests/format/issue1400-1B.dhall

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{ conversation =
2+
[ { author = "robert", content = [] }
3+
, { author = "robert", content = [] }
4+
, { author = "bob"
5+
, content =
6+
[ text
7+
''
8+
any line going past the 80 characters boundary (e.g. this one is 82)
9+
''
10+
]
11+
}
12+
]
13+
}

dhall/tests/format/issue1400-2A.dhall

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
let Tagged
2+
: Type Type
3+
= λ ( a
4+
: Type
5+
)
6+
{ field :
7+
Text
8+
, nesting :
9+
./Nesting sha256:6284802edd41d5d725aa1ec7687e614e21ad1be7e14dd10996bfa9625105c335
10+
? ./Nesting
11+
, contents : a
12+
}
13+
14+
in Tagged

dhall/tests/format/issue1400-2B.dhall

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
let Tagged
2+
: Type Type
3+
= λ(a : Type)
4+
{ field : Text
5+
, nesting :
6+
./Nesting sha256:6284802edd41d5d725aa1ec7687e614e21ad1be7e14dd10996bfa9625105c335
7+
? ./Nesting
8+
, contents : a
9+
}
10+
11+
in Tagged

0 commit comments

Comments
 (0)