Minor: normalize '@Test' annotation casing in all tests.

This commit is contained in:
Ilya Gorbunov
2016-11-16 21:26:39 +03:00
parent 50cd620f92
commit 6a70761783
48 changed files with 749 additions and 751 deletions
+4 -4
View File
@@ -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()