提交 f5a8a0bb 编写于 作者: G Gen Lu

Improve test failure message

上级 796b6192
......@@ -264,7 +264,7 @@ public static void CheckOperations(this Compilation compilation)
if (operation != null)
{
// Make sure IOperation returned by GetOperation(syntaxnode) will have same syntaxnode as the given syntaxnode(IOperation.Syntax == syntaxnode).
Assert.True(node == operation.Syntax);
Assert.True(node == operation.Syntax, $"Expected : {node} - Actual : {operation.Syntax}");
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册