Skip to content

Commit

Permalink
Formmating TestAdapter.fs
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAngryByrd committed Sep 6, 2023
1 parent ad2e8ac commit f633c3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FsAutoComplete.Core/TestAdapter.fs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ let getExpectoTests (ast: ParsedInput) : TestAdapterEntry<range> list =
| SynExpr.App(
funcExpr = SynExpr.App(funcExpr = SynExpr.App(funcExpr = SynExpr.App(funcExpr = expr1)))
argExpr = SynExpr.Const(constant = SynConst.String(text = s)))
| SynExpr.App(funcExpr = expr1; argExpr = SynExpr.Const(constant = SynConst.String(text = s))) -> Some (expr1, s)
| SynExpr.App(funcExpr = expr1; argExpr = SynExpr.Const(constant = SynConst.String(text = s))) -> Some(expr1, s)
| _ -> None

let rec visitExpr (parent: TestAdapterEntry<range>) =
Expand Down Expand Up @@ -158,7 +158,7 @@ let getExpectoTests (ast: ParsedInput) : TestAdapterEntry<range> list =
| _ ->
visitExpr parent expr1
visitExpr parent expr2
| FindTestCases (expr1, s) -> //Take those applications that are using string constant as an argument
| FindTestCases(expr1, s) -> //Take those applications that are using string constant as an argument
match expr1 with
| Case ->
ident <- ident + 1
Expand Down

0 comments on commit f633c3a

Please sign in to comment.