Trying to write a simple kotlin unit test using ju...
# intellij
c
Trying to write a simple kotlin unit test using junit 4
Copy code
class MyTest {
    @Test
    fun `test something`() {
        Assert.assertEquals("asdf", "asdf")
    }
}
When I run that in intellij I get this message. Ideas?
c
do you also get a stacktrace on the right?
c
Here's my build.gradle also
Copy code
plugins {
    id("java-library")
    id("kotlin")
}

java {
    sourceCompatibility = JavaVersion.VERSION_1_7
    targetCompatibility = JavaVersion.VERSION_1_7
}

dependencies {
    testImplementation("junit:junit:4.12")
}
@christophsturm yeah. let me grab that
Actually, I just reran it and it worked.
¯\_(ツ)_/¯
Thanks though!
👍 1