change from @before to init
This commit is contained in:
parent
6557cf2564
commit
f0f1eba7b9
@ -16,11 +16,10 @@ class RandomStringTest {
|
|||||||
|
|
||||||
val charPool = ArrayList<Char>()
|
val charPool = ArrayList<Char>()
|
||||||
|
|
||||||
@BeforeEach
|
init {
|
||||||
fun charPool() {
|
charPool.addAll('a'..'z')
|
||||||
charPool.addAll('a'..'z');
|
charPool.addAll('A'..'Z')
|
||||||
charPool.addAll('A'..'Z');
|
charPool.addAll('0'..'9')
|
||||||
charPool.addAll('0'..'9');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user