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

Integration tests covering ErrInputsDepleted case #500

Merged
merged 1 commit into from
Jul 3, 2019

Conversation

piotr-iohk
Copy link
Contributor

Issue Number

Overview

  • I have added integration test for API and CLI that produces the error

Comments


let addr1 = encodeAddress (Proxy @t) (getApiT $ fst $ head addrs ^. #id)
let addr2 = encodeAddress (Proxy @t) (getApiT $ fst $ addrs !! 1 ^. #id)
let addr3 = encodeAddress (Proxy @t) (getApiT $ fst $ addrs !! 2 ^. #id)
Copy link
Member

Choose a reason for hiding this comment

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

I am neat-picking, but, could have been:

        let addr1 = encodeAddress (Proxy @t) (getApiT $ fst $ addrs !! 1 ^. #id)
        let addr2 = encodeAddress (Proxy @t) (getApiT $ fst $ addrs !! 2 ^. #id)
        let addr3 = encodeAddress (Proxy @t) (getApiT $ fst $ addrs !! 3 ^. #id)

😬

Copy link
Contributor Author

Choose a reason for hiding this comment

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

¯_(ツ)_/¯

@piotr-iohk piotr-iohk self-assigned this Jul 3, 2019
@piotr-iohk piotr-iohk force-pushed the piotr/random_testing branch from 8515d6b to 721386b Compare July 3, 2019 12:28
@piotr-iohk piotr-iohk merged commit a2f2458 into master Jul 3, 2019
@piotr-iohk piotr-iohk deleted the piotr/random_testing branch July 3, 2019 13:05
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