mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-12-06 19:01:35 +00:00
Remove inline modifier from string asserts
This commit is contained in:
1 parent
0f009882af
commit
c89179825c
2 files changed
+7
-7
No files matched your search
+7
@@ -0,0 +1,7 @@
|
||||
package org.apollo.game.plugin.testing.assertions
|
||||
|
||||
import io.mockk.MockKMatcherScope
|
||||
|
||||
fun MockKMatcherScope.contains(search: String) = match<String> { it.contains(search) }
|
||||
fun MockKMatcherScope.startsWith(search: String) = match<String> { it.startsWith(search) }
|
||||
fun MockKMatcherScope.endsWith(search: String) = match<String> { it.endsWith(search) }
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
package org.apollo.game.plugin.testing.assertions
|
||||
|
||||
import io.mockk.MockKMatcherScope
|
||||
|
||||
inline fun MockKMatcherScope.contains(search: String) = match<String> { it.contains(search) }
|
||||
inline fun MockKMatcherScope.startsWith(search: String) = match<String> { it.startsWith(search) }
|
||||
inline fun MockKMatcherScope.endsWith(search: String) = match<String> { it.endsWith(search) }
|
||||
Reference in new issue
Block a user