Skip to content

Commit e8f435f

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

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

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

8888
match (startIndex, endIndex) with
89-
| (Some(startIndex), Some(endIndex)) ->
89+
| (Some startIndex, Some endIndex) ->
9090
(StringBuilder source)
9191
.Remove(startIndex, endIndex - startIndex)
9292
.Insert(startIndex, fix.ToText)

0 commit comments

Comments
 (0)