strikt icon indicating copy to clipboard operation
strikt copied to clipboard

Add Array.hasSize() assertion

Open theHacker opened this issue 4 years ago • 0 comments

    "test" {
        val list = listOf(1, 2)
        val array = arrayOf(1, 2)

        expect {
            that(list).hasSize(2) // works
            that(array).hasSize(2) // <- does NOT work
        }
    }

theHacker avatar Apr 26 '22 07:04 theHacker