Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@alexvanolst
Copy link
Contributor

Part of #2077

These were trivial to port over and seem to make sense to me.

Copy link
Member

@iravid iravid left a comment

Choose a reason for hiding this comment

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

Looks good! Nice work! Can you place the methods in alphabetical order in the file?

@iravid
Copy link
Member

iravid commented Nov 3, 2019

Would be great if you could add a test for absorbWith as well.

@alexvanolst
Copy link
Contributor Author

@iravid I've alphabetized the methods and added tests.

There were no existing tests for absorbWith on ZIO , so added those first. Had to also port run to ZManaged to be able to test on failures.

Now we're in the same situation again where run has no tests on ZIO or ZManaged and I've not got much time left this weekend.

If the run on ZManaged seems reasonable to you can I suggest we open a ticket for all the missing tests on ZIO and ZManaged?

@iravid
Copy link
Member

iravid commented Nov 5, 2019

@alexvanolst I tried to fix the conflicts but messed up the formatting. Can you run an fmt here? Then we can merge this. Great work here!

@iravid iravid merged commit 2d5e41d into zio:master Nov 7, 2019
@iravid
Copy link
Member

iravid commented Nov 7, 2019

Thank you @alexvanolst!

Twizty pushed a commit to Twizty/zio that referenced this pull request Nov 13, 2019
* Port absorb and absorbWith combinators to ZManaged

* Move ZManaged#absorb and absorbWith to be alphabetically orderd

* Add ZIO absorbWith tests

* Port ZIO run to ZManaged

* Add absorbWith tests to ZManaged

* Run scalafmt after merge
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.

2 participants