I'm trying to write a test that catches an SPI error (specifically embedded_hal::spi::ErrorKind
). I see that other mocked Transaction
s have with_error()
defined, but the eh1::spi::Transaction
struct has no way of returning a mocked error.
Is this an oversight or intentional?