@@ -181,8 +181,7 @@ let ``identifier dot appUnit dot typed appUnit `` () =
181
181
"""
182
182
A.B().C<'d>()
183
183
"""
184
- { config with
185
- MaxDotGetExpressionWidth = 0 }
184
+ { config with MaxLineLength = 10 }
186
185
|> prepend newline
187
186
|> should
188
187
equal
@@ -198,8 +197,7 @@ let ``identifier dot appUnit dot typed identifier `` () =
198
197
"""
199
198
A.B().C<'d>
200
199
"""
201
- { config with
202
- MaxDotGetExpressionWidth = 0 }
200
+ { config with MaxLineLength = 10 }
203
201
|> prepend newline
204
202
|> should
205
203
equal
@@ -215,8 +213,7 @@ let ``identifier dot identifier dot appExpr dot appUnit dot index expr`` () =
215
213
"""
216
214
A.B.C(D).E().[0]
217
215
"""
218
- { config with
219
- MaxDotGetExpressionWidth = 0 }
216
+ { config with MaxLineLength = 10 }
220
217
|> prepend newline
221
218
|> should
222
219
equal
@@ -233,8 +230,7 @@ let ``identifier dot identifier dot appExpr dot identifier dot index expr`` () =
233
230
"""
234
231
A.B.C(D).E.[0]
235
232
"""
236
- { config with
237
- MaxDotGetExpressionWidth = 0 }
233
+ { config with MaxLineLength = 10 }
238
234
|> prepend newline
239
235
|> should
240
236
equal
288
284
.empty<_, obj>
289
285
.Add("headerAction", modifyHeader.Action.ArmValue)
290
286
"""
291
- { config with
292
- MaxDotGetExpressionWidth = 0 }
287
+ { config with MaxLineLength = 55 }
293
288
|> prepend newline
294
289
|> should
295
290
equal
@@ -310,7 +305,7 @@ let d = Duck()
310
305
311
306
d.Duck.Duck.Duck.Goose().Duck.Goose().Duck.Duck.Goose().Duck.Duck.Duck.Goose().Duck.Duck.Duck.Duck.Goose()
312
307
"""
313
- config
308
+ { config with MaxLineLength = 45 }
314
309
|> prepend newline
315
310
|> should
316
311
equal
@@ -335,9 +330,7 @@ let ``very long chain with a some index expressions`` () =
335
330
"""
336
331
Universe.Galaxy.SolarSystem.Planet.[3].Countries.[9].People.Count
337
332
"""
338
- { config with
339
- MaxDotGetExpressionWidth = 0
340
- MaxLineLength = 50 }
333
+ { config with MaxLineLength = 50 }
341
334
|> prepend newline
342
335
|> should
343
336
equal
@@ -353,9 +346,7 @@ let ``even longer chain with only simple links`` () =
353
346
Fooooooooooo.Baaaaaaaaaaaaaaaaar.Foooooooooooooooooo.Baaaaaaaar.Basssss.Baazzzzzzzzzzzzzzzzzz.[0].Meeeeeeeeeeeeeeeeeh
354
347
.Moooooooooooooooo.Booooooooooooooooooooh.Yooooooooooooooou.Meeeeeeh.Meh2
355
348
"""
356
- { config with
357
- MaxDotGetExpressionWidth = 0
358
- MaxLineLength = 50 }
349
+ { config with MaxLineLength = 50 }
359
350
|> prepend newline
360
351
|> should
361
352
equal
@@ -426,9 +417,7 @@ Animal<
426
417
"Spot"
427
418
)
428
419
"""
429
- { config with
430
- MaxDotGetExpressionWidth = 0
431
- MaxLineLength = 10 }
420
+ { config with MaxLineLength = 10 }
432
421
|> prepend newline
433
422
|> should
434
423
equal
0 commit comments