We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad51b5f commit 12e13e2Copy full SHA for 12e13e2
tests/FSharpLint.Core.Tests/Rules/Binding/UselessBinding.fs
@@ -77,6 +77,28 @@ let a = a"""
77
let expected = """
78
module Program
79
80
+let a = 10
81
+"""
82
+
83
+ this.Parse source
84
85
+ Assert.IsTrue(this.ErrorExistsAt(5, 4))
86
87
+ let result = this.ApplyQuickFix source
88
89
+ Assert.AreEqual(expected, result)
90
91
+ [<Test>]
92
+ member this.UselessBindingWithParensSuggestedFix() =
93
+ let source = """
94
+module Program
95
96
97
+let ((a)) = ((a))"""
98
99
+ let expected = """
100
101
102
let a = 10
103
"""
104
0 commit comments