https://kotlinlang.org logo
#strikt
Title
# strikt
c

christophsturm

09/13/2018, 5:53 PM
so i think when actual is null, isActualDefined needs to be false
r

robfletcher

09/13/2018, 6:24 PM
I disagree. It’s valid for the actual value to be
null
. That’s a distinct state from “there was no actual value”
c

christophsturm

09/13/2018, 6:45 PM
yeah right, but it should not return null, but ValueWrapper(null)
r

robfletcher

09/13/2018, 6:45 PM
Ah yes
c

christophsturm

09/13/2018, 6:46 PM
pr is now updated to use AssertionFailedError directly.
6 Views