Skip to content

Conversation

TBSten
Copy link

@TBSten TBSten commented Jan 29, 2025

Background

I wanted to migrate your wonderful library to KMP.
To do this, I first need to migrate the dependencies that can only be used with the JVM to a Multiplatform-enabled library. In this project, that would be the junit jupiter.

So I replaced it with kotest, a modern Multiplatform-compatible test library in this PR.

@Test
fun `should fail if delimiter equals quoteChar`() {
assertThrows<IllegalArgumentException> {
shouldThrow<IllegalArgumentException> {
Copy link
Owner

Choose a reason for hiding this comment

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

We should just use plain kotlin.test library.

Suggested change
shouldThrow<IllegalArgumentException> {
assertFailsWith<IllegalArgumentException> {

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