Minor: normalize '@Test' annotation casing in all tests.
This commit is contained in:
@@ -4,19 +4,19 @@ package test.exceptions
|
||||
import kotlin.test.*
|
||||
import test.collections.assertArrayNotSameButEquals
|
||||
|
||||
import org.junit.Test as test
|
||||
import org.junit.Test
|
||||
import java.io.PrintWriter
|
||||
import java.io.*
|
||||
import java.nio.charset.Charset
|
||||
|
||||
class ExceptionJVMTest {
|
||||
|
||||
@test fun printStackTraceOnRuntimeException() {
|
||||
@Test fun printStackTraceOnRuntimeException() {
|
||||
assertPrintStackTrace(RuntimeException("Crikey!"))
|
||||
assertPrintStackTraceStream(RuntimeException("Crikey2"))
|
||||
}
|
||||
|
||||
@test fun printStackTraceOnError() {
|
||||
@Test fun printStackTraceOnError() {
|
||||
assertPrintStackTrace(Error("Oh dear"))
|
||||
assertPrintStackTraceStream(Error("Oh dear2"))
|
||||
}
|
||||
@@ -55,7 +55,7 @@ class ExceptionJVMTest {
|
||||
}
|
||||
}
|
||||
|
||||
@test fun changeStackTrace() {
|
||||
@Test fun changeStackTrace() {
|
||||
val exception = RuntimeException("Fail")
|
||||
var stackTrace = exception.stackTrace
|
||||
stackTrace = stackTrace.dropLast(1).toTypedArray()
|
||||
|
||||
Reference in New Issue
Block a user