Skip to content

Commit de5b47a

Browse files
bug: boiled bug down more
1 parent e08e9fa commit de5b47a

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

vsintegration/tests/FSharp.Editor.Tests/Refactors/AsyncBugReproduction.fs

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ open System.Runtime.InteropServices
3232

3333
[<Theory>]
3434
[<InlineData("(a:float) (b:int)", "float")>]
35-
[<InlineData("(a:float) (b:int)", "float")>]
3635
let ``Reproducing code null spanStart Bug`` (functionHeader: string) (returnType: string) =
3736
task {
3837

@@ -46,15 +45,12 @@ let ``Reproducing code null spanStart Bug`` (functionHeader: string) (returnType
4645
use context = TestContext.CreateWithCode code
4746

4847
let spanStart = code.IndexOf(symbolName)
49-
5048
let! newDoc = tryRefactor code spanStart context (new AddExplicitReturnType())
51-
52-
do! AssertHasSpecificExplicitReturnType symbolName returnType newDoc context.CT
49+
Console.WriteLine("Test")
5350
}
5451

5552
[<Theory>]
5653
[<InlineData("(a:float) (b:int)", "float")>]
57-
[<InlineData("(a:float) (b:int)", "float")>]
5854
let ``But works when not async`` (functionHeader: string) (returnType: string) =
5955

6056
let symbolName = "sum"
@@ -71,7 +67,4 @@ let ``But works when not async`` (functionHeader: string) (returnType: string) =
7167
let newDocTask = tryRefactor code spanStart context (new AddExplicitReturnType())
7268
let newDoc = newDocTask.GetAwaiter().GetResult()
7369

74-
let assertTask =
75-
AssertHasSpecificExplicitReturnType symbolName returnType newDoc context.CT
76-
77-
do assertTask.GetAwaiter().GetResult()
70+
Console.WriteLine("Test")

0 commit comments

Comments
 (0)