Skip to content

Commit

Permalink
[tests] fix SbtIdeaPluginIntegrationTest test data to pass on Linux
Browse files Browse the repository at this point in the history
1. Use case-sensitive expected file paths
2. Add natives-macos-arm64 dependency explicitly. It was added automatically only on macOS
  • Loading branch information
unkarjedy committed Jan 20, 2025
1 parent b0845e2 commit 4453b70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class SbtIdeaPluginIntegrationTest
val intellijSdkRoot = runUpdateIntellijCommand("simple-with-plugin")

doCommonAssertions(intellijSdkRoot)
assertFileExists(intellijSdkRoot / "plugins" / "scala")
assertFileExists(intellijSdkRoot / "plugins" / "Scala")
new IdeInstallationContext(intellijSdkRoot.toPath).productInfo.productCode shouldBe "IC"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@ lazy val myAwesomeFramework =
.classifier("natives-linux")
.classifier("natives-macos")
.classifier("natives-macos-arm64"),
("org.lwjgl" % "lwjgl-vulkan" % "3.3.6" % Runtime)
.classifier("natives-macos")
.classifier("natives-macos-arm64")
),
)

0 comments on commit 4453b70

Please sign in to comment.