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

Fix bugs in JS tests #28

Merged
merged 1 commit into from
Oct 17, 2024
Merged

Fix bugs in JS tests #28

merged 1 commit into from
Oct 17, 2024

Conversation

swankjesse
Copy link
Collaborator

I typo'd the package name, kotlin.text, which prevented anything from matching.

And I had two primary constructors.

And I had the visibility wrong.

These problems didn't matter for Kotlin/JVM, but they prevented tests from running successfully on Kotlin/JS.

Kotlin/Native in a follow-up.

I typo'd the package name, kotlin.text, which prevented anything
from matching.

And I had two primary constructors.

And I had the visibility wrong.

These problems didn't matter for Kotlin/JVM, but they prevented
tests from running successfully on Kotlin/JS.

Kotlin/Native in a follow-up.
@@ -57,7 +57,7 @@ private val burstAnnotationClassId = burstFqPackage.classId("Burst")

val junitPackage = FqPackageName("org.junit")
val junitTestClassId = junitPackage.classId("Test")
val kotlinTestPackage = FqPackageName("kotlin.text")
val kotlinTestPackage = FqPackageName("kotlin.test")
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

💀

@swankjesse
Copy link
Collaborator Author

I didn‘t add a test for say 'macosArm64' 'cause I need to pick a platform that’ll run well on whatever the host platform is. I'll do that in a follow-up!

@swankjesse swankjesse merged commit eec4cac into main Oct 17, 2024
1 check passed
@swankjesse swankjesse deleted the jwilson.1016.js branch October 17, 2024 10:29
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