Skip to content

Commit cc06cbf

Browse files
Tests.Core: applied suggestions
Regarding code style Co-authored-by: Andrii Chebukin <XperiAndri@Outlook.com>
1 parent cd5e497 commit cc06cbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/FSharpLint.Core.Tests/Rules/TestRuleBase.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@ type TestRuleBase () =
8282
Seq.fold
8383
(fun (source: string) (lazyFix: Lazy<Option<SuggestedFix>>) ->
8484
match lazyFix.Value with
85-
| Some(fix) ->
85+
| Some fix ->
8686
let startIndex = ExpressionUtilities.findPos fix.FromRange.Start source
8787
let endIndex = ExpressionUtilities.findPos fix.FromRange.End source
8888

8989
match (startIndex, endIndex) with
90-
| (Some(startIndex), Some(endIndex)) ->
90+
| (Some startIndex, Some endIndex) ->
9191
(StringBuilder source)
9292
.Remove(startIndex, endIndex - startIndex)
9393
.Insert(startIndex, fix.ToText)

0 commit comments

Comments
 (0)