Skip to content

Commit

Permalink
Revert accidental test change
Browse files Browse the repository at this point in the history
  • Loading branch information
bnorm committed Feb 13, 2020
1 parent 165a3a5 commit cf914a9
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions kotlin-power-assert/src/test/kotlin/com/bnorm/power/test.kt
Original file line number Diff line number Diff line change
Expand Up @@ -228,12 +228,10 @@ assert(text == null || (text.length == 5 && text.toLowerCase() == text))
@Test
fun booleanMixOrLast() {
assertMessage(
"""fun main() {
val text: String? = null
assert(
(text != null && text.toLowerCase() == text) ||
text == "Hello"
)
"""
fun main() {
val text = "Hello"
assert((text.length == 5 && text.toLowerCase() == text) || text.length == 1)
}""",
"""
Assertion failed
Expand Down

0 comments on commit cf914a9

Please sign in to comment.