Skip to content

Commit

Permalink
Make the samples for because succeed
Browse files Browse the repository at this point in the history
  • Loading branch information
jGleitz committed Dec 23, 2020
1 parent 2f7f130 commit 7855542
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,15 +201,13 @@ class AnyAssertionSamples {
}
}

interface Person {
val age: Int
}
data class Person(val age: Int)

private val customers = emptyList<Person>()
private val customers = listOf(Person(21))

@Test
fun because() {
expect("filename?")
expect("filename")
.because("? is not allowed in file names on Windows") {
containsNot("?")
}
Expand Down

0 comments on commit 7855542

Please sign in to comment.