Skip to content

Commit 78304fc

Browse files
committed
Tests(ParameterNames): fix test
That uses identifier name instead of parameter name. This is wrong because the rule is supposed to operate only on function or method parameters.
1 parent 168ac5f commit 78304fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/FSharpLint.Core.Tests/Rules/Conventions/Naming/ParameterNames.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ let result = extractInt singleCaseDU
7878
let source = """
7979
module Program
8080
81-
let __foo_bar = 0
81+
let baz __foo_bar = 0
8282
"""
8383

8484
let expected = """
8585
module Program
8686
87-
let __foobar = 0
87+
let baz __foobar = 0
8888
"""
8989

9090
this.Parse source

0 commit comments

Comments
 (0)