Cleanup: use effects introduced by contracts of assert* functions

This commit is contained in:
Ilya Gorbunov
2019-12-27 23:16:40 +03:00
parent 04fe0dc795
commit 043eddb432
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ class RegexTest {
assertTrue(p in input)
val first = p.find(input)
assertTrue(first != null); first!!
assertNotNull(first)
assertEquals("123", first.value)
val second1 = first.next()!!