Hi! I’ve started to work on #643 and get an error ...
# atrium
j
Hi! I’ve started to work on #643 and get an error for the following assertion:
Copy code
expect<Int?>(null).toBeNullIfNullGivenElse {
   toBe(1)
}
The error is:
Copy code
1) ch.tutteli.atrium.api.fluent.en_GB.samples
    AnyAssertionSamples
     toBeNullIfNullGivenElse:
   AtriumError: expected that subject: null
◆ is instance of type: Int (Number)
  » equals: 1 (Int <8>)
Did I misunderstand the usage of the function?