We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd5e497 commit cc06cbfCopy full SHA for cc06cbf
tests/FSharpLint.Core.Tests/Rules/TestRuleBase.fs
@@ -82,12 +82,12 @@ type TestRuleBase () =
82
Seq.fold
83
(fun (source: string) (lazyFix: Lazy<Option<SuggestedFix>>) ->
84
match lazyFix.Value with
85
- | Some(fix) ->
+ | Some fix ->
86
let startIndex = ExpressionUtilities.findPos fix.FromRange.Start source
87
let endIndex = ExpressionUtilities.findPos fix.FromRange.End source
88
89
match (startIndex, endIndex) with
90
- | (Some(startIndex), Some(endIndex)) ->
+ | (Some startIndex, Some endIndex) ->
91
(StringBuilder source)
92
.Remove(startIndex, endIndex - startIndex)
93
.Insert(startIndex, fix.ToText)
0 commit comments