提交 665cff4f 编写于 作者: R Ravi Chande

Fix tests

上级 d7cb5eb1
......@@ -335,7 +335,7 @@ private void AddLineBreaks(SourceText text, IList<string> lines)
{
// Find the documentation comment before the new line that was just pressed
var token = GetTokenToLeft(syntaxTree, position, cancellationToken);
if (!IsDocCommentNewLine(token) || token.Span.End != position)
if (!IsDocCommentNewLine(token))
{
return false;
}
......
......@@ -49,7 +49,6 @@ protected void VerifyTypingCharacter(string initialMarkup, string expectedMarkup
var commandArgs = new ReturnKeyCommandArgs(view, view.TextBuffer);
var nextHandler = CreateInsertTextHandler(view, "\r\n");
commandHandler.ExecuteCommand(commandArgs, nextHandler);
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册