提交 119eef2d 编写于 作者: C Cyrus Najmabadi

Revert back to previous test behavior. As we're no longer doing a linear...

Revert back to previous test behavior.  As we're no longer doing a linear walk, we no longer find these types.
上级 163c3fa8
......@@ -80,9 +80,8 @@ public async Task TestGenericWithWrongArgs1()
[WpfFact, Trait(Traits.Feature, Traits.Features.CodeActionsAddUsing)]
public async Task TestGenericWithWrongArgs2()
{
await TestAsync(
@"class Class { [|List<int,string>|] Method() { Foo(); } }",
@"using System.Collections.Generic; class Class { SortedList<int,string> Method() { Foo(); } }");
await TestMissingAsync(
@"class Class { [|List<int,string>|] Method() { Foo(); } }");
}
[WpfFact, Trait(Traits.Feature, Traits.Features.CodeActionsAddUsing)]
......
......@@ -166,9 +166,8 @@ NewLines("Class Foo \n Function F() As [|List(Of Integer, String, Boolean)|] \n
<WpfFact, Trait(Traits.Feature, Traits.Features.CodeActionsAddImport)>
Public Async Function TestGenericWithWrongArgs2() As Task
Await TestAsync(
NewLines("Class Foo \n Function F() As [|List(Of Integer, String)|] \n End Function \n End Class"),
NewLines("Imports System.Collections.Generic \n Class Foo \n Function F() As SortedList(Of Integer, String) \n End Function \n End Class"))
Await TestMissingAsync(
NewLines("Class Foo \n Function F() As [|List(Of Integer, String)|] \n End Function \n End Class"))
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.CodeActionsAddImport)>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册