提交 70fad92b 编写于 作者: C CyrusNajmabadi

Add more test logic.

上级 1effe1b7
......@@ -3065,6 +3065,20 @@ class C
Dim secondChange = actualChanges(1)
Assert.Equal(New Span(positionAfterSpace, 0), secondChange.OldSpan)
Assert.Equal("InsertedItem", secondChange.NewText)
' Make sure new edits happen after the text that was inserted.
state.SendTypeChars("1")
finalText = textBuffer.CurrentSnapshot.GetText()
Assert.Equal(
"using NewUsing;
using System;
class C
{
void foo() {
return InsertedItem1
}
}", finalText)
End Using
End Function
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册