Skip to content

Commit b158e1d

Browse files
author
Joshua Selbo
committed
Apply ktfmt formatting
1 parent d2b1166 commit b158e1d

39 files changed

+897
-1047
lines changed

mockito-kotlin/src/main/kotlin/org/mockito/kotlin/AdditionalMatchers.kt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,71 +57,71 @@ inline fun <reified T : Comparable<T>> cmpEq(value: T): T {
5757
* and each element has to be equal.
5858
*/
5959
inline fun <reified T> aryEq(value: Array<T>): Array<T> {
60-
return AdditionalMatchers.aryEq(value) ?: createInstance()
60+
return AdditionalMatchers.aryEq(value) ?: createInstance()
6161
}
6262

6363
/**
6464
* short array argument that is equal to the given array, i.e. it has to have the same length, and
6565
* each element has to be equal.
6666
*/
6767
fun aryEq(value: ShortArray): ShortArray {
68-
return AdditionalMatchers.aryEq(value) ?: createInstance()
68+
return AdditionalMatchers.aryEq(value) ?: createInstance()
6969
}
7070

7171
/**
7272
* long array argument that is equal to the given array, i.e. it has to have the same length, and
7373
* each element has to be equal.
7474
*/
7575
fun aryEq(value: LongArray): LongArray {
76-
return AdditionalMatchers.aryEq(value) ?: createInstance()
76+
return AdditionalMatchers.aryEq(value) ?: createInstance()
7777
}
7878

7979
/**
8080
* int array argument that is equal to the given array, i.e. it has to have the same length, and
8181
* each element has to be equal.
8282
*/
8383
fun aryEq(value: IntArray): IntArray {
84-
return AdditionalMatchers.aryEq(value) ?: createInstance()
84+
return AdditionalMatchers.aryEq(value) ?: createInstance()
8585
}
8686

8787
/**
8888
* float array argument that is equal to the given array, i.e. it has to have the same length, and
8989
* each element has to be equal.
9090
*/
9191
fun aryEq(value: FloatArray): FloatArray {
92-
return AdditionalMatchers.aryEq(value) ?: createInstance()
92+
return AdditionalMatchers.aryEq(value) ?: createInstance()
9393
}
9494

9595
/**
9696
* double array argument that is equal to the given array, i.e. it has to have the same length, and
9797
* each element has to be equal.
9898
*/
9999
fun aryEq(value: DoubleArray): DoubleArray {
100-
return AdditionalMatchers.aryEq(value) ?: createInstance()
100+
return AdditionalMatchers.aryEq(value) ?: createInstance()
101101
}
102102

103103
/**
104104
* char array argument that is equal to the given array, i.e. it has to have the same length, and
105105
* each element has to be equal.
106106
*/
107107
fun aryEq(value: CharArray): CharArray {
108-
return AdditionalMatchers.aryEq(value) ?: createInstance()
108+
return AdditionalMatchers.aryEq(value) ?: createInstance()
109109
}
110110

111111
/**
112112
* byte array argument that is equal to the given array, i.e. it has to have the same length, and
113113
* each element has to be equal.
114114
*/
115115
fun aryEq(value: ByteArray): ByteArray {
116-
return AdditionalMatchers.aryEq(value) ?: createInstance()
116+
return AdditionalMatchers.aryEq(value) ?: createInstance()
117117
}
118118

119119
/**
120120
* boolean array argument that is equal to the given array, i.e. it has to have the same length, and
121121
* each element has to be equal.
122122
*/
123123
fun aryEq(value: BooleanArray): BooleanArray {
124-
return AdditionalMatchers.aryEq(value) ?: createInstance()
124+
return AdditionalMatchers.aryEq(value) ?: createInstance()
125125
}
126126

127127
/** String argument that contains a substring that matches the given regular expression. */

0 commit comments

Comments
 (0)