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 12e13e2 commit 14a146aCopy full SHA for 14a146a
tests/FSharpLint.Core.Tests/Rules/Typography/NoTabCharacters.fs
@@ -27,3 +27,16 @@ type TestTypographyTabCharacterInFile() =
27
28
Assert.IsFalse(this.ErrorExistsAt(2, 23))
29
Assert.IsFalse(this.ErrorExistsAt(4, 13))
30
+
31
+ [<Test>]
32
+ member this.TabCharacterInFileSuggestedFix() =
33
+ let source = "\t"
34
+ let expected = String.replicate 4 " "
35
+ this.Parse source
36
37
+ Assert.IsTrue(this.ErrorExistsAt(1, 0))
38
39
+ let result = this.ApplyQuickFix source
40
41
+ Assert.AreEqual(expected, result)
42
0 commit comments