Skip to content

Commit ad321b1

Browse files
committed
Update tests
1 parent 2b42d00 commit ad321b1

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

tests/syntax_tests/data/printer/expr/expected/record.res.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,23 @@ type tt = {x: int, y?: string}
9797

9898
type ttt = {x: int, y?: string}
9999

100+
type x = {a: int}
101+
102+
type x = {
103+
aaaaaaaaaaaa: int,
104+
bbbbbbbbbbbb: int,
105+
cccccccccccc: int,
106+
dddddddddddd: int,
107+
eeeeeeeeeeee: int,
108+
ffffffffffffffff: int,
109+
}
110+
111+
type y = {a: int}
112+
113+
type z = {
114+
a: int,
115+
}
116+
100117
let optParen = {x: 3, y: ?(someBool ? Some("") : None)}
101118
let optParen = {x: 3, y: ?(3 + 4)}
102119
let optParen = {x: 3, y: ?foo(bar)}

tests/syntax_tests/data/printer/expr/record.res

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,17 @@ type tt = {x:int, y?: string}
8787

8888
type ttt = {x:int, y?: string}
8989

90+
type x = {a: int}
91+
92+
type x = {aaaaaaaaaaaa: int, bbbbbbbbbbbb: int, cccccccccccc: int, dddddddddddd: int, eeeeeeeeeeee: int, ffffffffffffffff: int}
93+
94+
type y = {a: int
95+
}
96+
97+
type z = {
98+
a: int,
99+
}
100+
90101
let optParen = { x:3, y: ? (someBool ? Some("") : None) }
91102
let optParen = { x:3, y: ? (3+4) }
92103
let optParen = { x:3, y: ? (foo(bar)) }

0 commit comments

Comments
 (0)