Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewparmet committed Apr 22, 2024
1 parent 38ddbdf commit 6ac3078
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@

package protokt.v1.testing

import protokt.v1.KtMessage
import protokt.v1.Message
import kotlin.test.Test
import kotlin.test.assertTrue

class VersionTest {
@Test
fun `runtime version should match project version`() {
val version = System.getenv("version")
val runtimeJarPath = KtMessage::class.java.protectionDomain.codeSource.location.toString()
val runtimeJarPath = Message::class.java.protectionDomain.codeSource.location.toString()

assertTrue(runtimeJarPath.endsWith("protokt-runtime-jvm-$version.jar"))
}
Expand Down

0 comments on commit 6ac3078

Please sign in to comment.