提交 d93e1c30 编写于 作者: C CyrusNajmabadi

Fix tests.

上级 add652cc
......@@ -83,10 +83,8 @@ protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspa
Assert.True(expectedDocumentName != null, $"{nameof(expectedDocumentName)} should be present if {nameof(expectedCodeAction)} is true.");
var oldDocumentId = workspace.Documents[0].Id;
string expectedText;
IList<TextSpan> spans;
MarkupTestFile.GetSpans(originalCode, out expectedText, out spans);
var expectedText = workspace.Documents[0].TextBuffer.CurrentSnapshot.GetText();
var spans = workspace.Documents[0].SelectedSpans;
var codeActionTitle = string.Format(RenameFileCodeActionTitle, expectedDocumentName);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册