Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verifiable / verify to show which verifiable statement failed. #31 #36

Merged
merged 2 commits into from
Oct 10, 2017

Conversation

softreigns
Copy link

No description provided.

@@ -60,7 +61,22 @@ private static string GetMessage(IEnumerable<IInternalSetupBase> notMatchedSetup
{
ArgumentChecker.NotNull(notMatchedSetups, () => notMatchedSetups);

return "Verification failed";
StringBuilder message = new StringBuilder();
foreach (IInternalSetup setup in notMatchedSetups)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change type of setup to IInternalSetupBase instead of IInternalSetup

StringBuilder message = new StringBuilder();
foreach (IInternalSetup setup in notMatchedSetups)
{
if (!string.IsNullOrEmpty(message.ToString()))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use curly braces for all if statements, also those with single line bodies

@vanderkleij vanderkleij merged commit 58ee0f4 into vanderkleij:master Oct 10, 2017
@vanderkleij
Copy link
Owner

Thank you!

@softreigns
Copy link
Author

When are you planning to push this to nuget ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants