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

test: Directly unwrap in TestContext::get_chat() #4614

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

Hocuri
Copy link
Collaborator

@Hocuri Hocuri commented Aug 7, 2023

Turns out that all usages of get_chat() directly unwrapped, because in a test it doesn't make sense to handle the error of there being no chat.

I had this on my computer for a while, but forgot to push. (I'm still mostly offline, but just had some IDLE time)

@Hocuri Hocuri requested review from link2xt and iequidoo August 7, 2023 16:44
@Hocuri Hocuri changed the title Directly unwrap in TestContext::get_chat() test: Directly unwrap in TestContext::get_chat() Aug 7, 2023
Turns out that all usages of get_chat() directly unwrapped, because in a
test it doesn't make sense to handle the error of there being no chat.

I had this on my computer for a while, but forgot to push.
@Hocuri Hocuri merged commit 885f26e into master Aug 8, 2023
34 checks passed
@Hocuri Hocuri deleted the hoc/make-getchat-unwrap branch August 8, 2023 09:34
@link2xt link2xt mentioned this pull request Oct 25, 2023
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