提交 18fbc427 编写于 作者: P Paul Chen

Add an test to cover the existing code path before this fix.

上级 22faf764
......@@ -25,6 +25,17 @@ namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.QuickInfo
{
public class SyntacticQuickInfoSourceTests : AbstractQuickInfoSourceTests
{
[WpfFact, Trait(Traits.Feature, Traits.Features.QuickInfo)]
public void Brackets_0()
{
TestInMethodAndScript(@"
switch (true)
{
}$$
",
ExpectedContent("switch (true)\r\n{"));
}
[WpfFact, Trait(Traits.Feature, Traits.Features.QuickInfo)]
public void Brackets_1()
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册