提交 dd35065f 编写于 作者: X xdtao

correct array syntax in ParamsObjectArray test

上级 c39cf0eb
......@@ -27,11 +27,15 @@ Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.UnitTests.ValidateFormatStri
End Function
<Fact, Trait(Traits.Feature, Traits.Features.ValidateFormatString)>
Public Async Function ParamsObjectArray() As Task
Public Async Function ObjectArray() As Task
Await TestDiagnosticMissingAsync("
Class C
Sub Main
string.Format(""This {0} {1} {[||]2} works"", New Object { ""test"", ""test2"", ""test3"" })
string.Format(""This {0} {1} {[||]2} works"", New Object() { ""test"", ""test2"", ""test3"" })
End Sub
End Class")
End Function
End Sub
End Class")
End Function
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册