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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a unit test for a Kotlin lambda class. #950

Closed
wants to merge 1 commit into from

Conversation

chrisr3
Copy link
Contributor

@chrisr3 chrisr3 commented Apr 4, 2023

This appears to be enough to include a Kotlin JUnit case, although IntelliJ doesn't like it much 馃あ.

@theigl
Copy link
Collaborator

theigl commented Apr 4, 2023

I just pushed another solution to this: #949.

Could you check if that works better for you in IntelliJ? For me it works quite well after running a Maven re-import.

@chrisr3
Copy link
Contributor Author

chrisr3 commented Apr 4, 2023

Could you check if that works better for you in IntelliJ? For me it works quite well after running a Maven re-import.

IntelliJ seems to like this solution better than mine, although I'm still struggling to persuade it to execute the new test. However, I'm more accustomed to using IntelliJ with Gradle projects rather than Maven ones, so all my problems could still be down to "user error"... 馃う.

@theigl
Copy link
Collaborator

theigl commented Apr 5, 2023

IntelliJ seems to like this solution better than mine, although I'm still struggling to persuade it to execute the new test. However, I'm more accustomed to using IntelliJ with Gradle projects rather than Maven ones, so all my problems could still be down to "user error"... 馃う.

Thanks a lot for testing it! Running the test works for me, but I'll try once more with a newly imported project just to make sure.

@theigl
Copy link
Collaborator

theigl commented Apr 5, 2023

We went with a different implementation in #949

@theigl theigl closed this Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants