Files
kotlin-fork/libraries/stdlib/test/language/EscapedTestNamesTest.kt
T
Ilya Gorbunov 20b122c1dd Use kotlin.test.Test instead of org.junit.Test in common stdlib tests
(and in jvm-only and js-only tests also)
2017-10-15 17:40:53 +03:00

17 lines
361 B
Kotlin

@file:kotlin.jvm.JvmVersion // TODO: Can't run in JS: spaces in function name KT-4160
package test.language
import kotlin.test.*
class EscapedTestNamesTest {
@Test fun `strings equal`() {
val actual = "abc"
assertEquals("abc", actual)
}
@Test fun `numbers equal`() {
val actual = 5
assertEquals(5, actual)
}
}