提交 e7661850 编写于 作者: D David Poeschl

Fix unit test

上级 de33d611
......@@ -73,9 +73,9 @@ void TestCore(string language)
// break the cycle and the resulting order will end up being unpredictable.
var actualOrder = ExtensionOrderer.Order(providers).ToArray();
Assert.Equal(3, actualOrder.Length);
Assert.Equal(PredefinedCodeFixProviderNames.ConfigureCodeStyleOption, actualOrder[0].Metadata.Name);
Assert.Equal(PredefinedCodeFixProviderNames.ConfigureSeverity, actualOrder[1].Metadata.Name);
Assert.Equal(PredefinedCodeFixProviderNames.Suppression, actualOrder[2].Metadata.Name);
Assert.Equal(PredefinedCodeFixProviderNames.Suppression, actualOrder[0].Metadata.Name);
Assert.Equal(PredefinedCodeFixProviderNames.ConfigureCodeStyleOption, actualOrder[1].Metadata.Name);
Assert.Equal(PredefinedCodeFixProviderNames.ConfigureSeverity, actualOrder[2].Metadata.Name);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册