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

Increase test module coverage. #387

Merged
merged 2 commits into from
Sep 10, 2024

Conversation

Laimiux
Copy link
Collaborator

@Laimiux Laimiux commented Sep 10, 2024

No description provided.

@carrotkite
Copy link

carrotkite commented Sep 10, 2024

JaCoCo Code Coverage 94.9% ✅

Class Covered Meta Status
com/instacart/formula/test/TestListener 100% 0%
com/instacart/formula/test/TestCallback 100% 0%
com/instacart/formula/test/RxJavaFormulaTestDelegate 100% 0%
com/instacart/formula/test/TestActionObserver 100% 0%
com/instacart/formula/test/TestFormulaObserver 100% 0%

Generated by 🚫 Danger

@Laimiux Laimiux force-pushed the laimonas/increase-test-module-coverage branch from 31c3ebc to af8dc23 Compare September 10, 2024 17:06
@Laimiux Laimiux requested a review from deesonpatel September 10, 2024 17:06
}

@Test fun `cancel throws exception if action does not provide cancelable`() {
val result = kotlin.runCatching { multipleValueStream().test().cancel() }

Choose a reason for hiding this comment

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

Is there a difference between above runCatching block vs kotlin.runCatching?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's the same function, the auto-complete keeps giving me kotlin.runCatching instead of runCatching

Choose a reason for hiding this comment

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

Oh! That's so weird

@Laimiux Laimiux merged commit 45666a3 into master Sep 10, 2024
4 checks passed
@Laimiux Laimiux deleted the laimonas/increase-test-module-coverage branch September 10, 2024 17:56
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