Skip to content

Commit

Permalink
Fix deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawa committed Mar 12, 2024
1 parent fe3f8a1 commit 8918334
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class GeneralTest {

@Test
fun `ensure no field should have 'm' prefix`() =
Konsist.scopeFromProject().classes().properties().assertNot {
Konsist.scopeFromProject().classes().properties().assertFalse {
val secondCharacterIsUppercase = it.name.getOrNull(1)?.isUpperCase() ?: false
it.name.startsWith('m') && secondCharacterIsUppercase
}
Expand Down

0 comments on commit 8918334

Please sign in to comment.