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