Skip to content

Commit eadd612

Browse files
Thoriumknocte
authored andcommitted
Selfcheck fix
1 parent c2ad5b1 commit eadd612

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/FSharpLint.Core.Tests/Rules/TestAstNodeRule.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type TestAstNodeRuleBase (rule:Rule) =
2828

2929
let globalConfig = Option.defaultValue GlobalRuleConfig.Default globalConfig
3030

31-
match parseResults |> Async.RunSynchronously with
31+
match Async.RunSynchronously parseResults with
3232
| ParseFileResult.Success parseInfo ->
3333
let syntaxArray = AbstractSyntaxArray.astToArray parseInfo.Ast
3434
let checkResult =

tests/FSharpLint.Core.Tests/Rules/TestHintMatcherBase.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ type TestHintMatcherBase () =
5151

5252
let globalConfig = Option.defaultValue GlobalRuleConfig.Default globalConfig
5353

54-
match parseResults |> Async.RunSynchronously with
54+
match Async.RunSynchronously parseResults with
5555
| ParseFileResult.Success parseInfo ->
5656
let syntaxArray = AbstractSyntaxArray.astToArray parseInfo.Ast
5757
let checkResult =

0 commit comments

Comments
 (0)