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

Jormungandr.NetworkSpec: Add more error path tests #525

Merged
merged 2 commits into from
Jul 11, 2019
Merged

Conversation

rvl
Copy link
Contributor

@rvl rvl commented Jul 11, 2019

Relates to #460

Overview

Adds a couple tests abusing the jormungandr node API.

@rvl rvl self-assigned this Jul 11, 2019
@KtorZ KtorZ mentioned this pull request Jul 11, 2019
10 tasks
@KtorZ KtorZ requested a review from Anviking July 11, 2019 09:21
Copy link
Member

@Anviking Anviking left a comment

Choose a reason for hiding this comment

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

LGTM!

I replaced the isLeft check with a \case checking for ErrGetDescendantsParentNotFound (431a3c2). I presume this wasn't done since ErrGetDescendants wasn't exported. Since we already export JormungandrLayer I see no reason why we wouldn't.

@Anviking Anviking requested a review from KtorZ July 11, 2019 10:55
@Anviking Anviking merged commit 612f04c into master Jul 11, 2019
@Anviking Anviking deleted the rvl/460/jm-tests branch July 11, 2019 11:44
@KtorZ KtorZ added this to the Bugs & Debts - Sprint 27-28 milestone Jul 24, 2019
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.

3 participants