Skip to content
This repository was archived by the owner on Jun 8, 2021. It is now read-only.

Replace unwrap calls with expect in tests #593

Merged
merged 1 commit into from
Feb 13, 2020

Conversation

GuillaumeGomez
Copy link
Member

@GuillaumeGomez GuillaumeGomez commented Feb 13, 2020

Fixes #592.

cc @sdroege @EPashkin

@sdroege
Copy link
Member

sdroege commented Feb 13, 2020

You didn't update the ones you initially complained about :) See src/subclass/object.rs tests.

@GuillaumeGomez
Copy link
Member Author

That was merged after. I'll update the PR shortly.

@sdroege
Copy link
Member

sdroege commented Feb 13, 2020

The tests were already there before that PR :)

@GuillaumeGomez
Copy link
Member Author

Then it's cat invasion! 🏃‍♂️

@GuillaumeGomez
Copy link
Member Author

I think I did all of the ones you added?

@sdroege
Copy link
Member

sdroege commented Feb 13, 2020

Let's merge then. Compared to an unwrap() these messages don't bring myself much additional information but you seem to care :)

@sdroege sdroege merged commit f05dbb6 into gtk-rs:master Feb 13, 2020
@GuillaumeGomez GuillaumeGomez deleted the expect-powa branch February 13, 2020 16:04
@GuillaumeGomez
Copy link
Member Author

It helps a bit from my point of view so I do care. :)

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

Successfully merging this pull request may close these issues.

Use expect() instead of unwrap() in tests
2 participants