From 0dc71821e4d7756c96428a580e2e6170acbe158b Mon Sep 17 00:00:00 2001 From: Jacob Persson <7156+typfel@users.noreply.github.com> Date: Fri, 17 Jan 2025 10:46:55 +0100 Subject: [PATCH] fixup! feat: integrate iOS interop client into interop tests --- interop/src/clients/corecrypto/ios.rs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/interop/src/clients/corecrypto/ios.rs b/interop/src/clients/corecrypto/ios.rs index 376fbe5baf..32e073d65f 100644 --- a/interop/src/clients/corecrypto/ios.rs +++ b/interop/src/clients/corecrypto/ios.rs @@ -22,7 +22,6 @@ use base64::{engine::general_purpose, Engine as _}; use color_eyre::eyre::Result; use core_crypto::prelude::{KeyPackage, KeyPackageIn}; use std::cell::{Cell, RefCell}; -use std::fmt::{Display, Formatter}; use std::fs; use std::io::{BufRead, BufReader}; use std::process::{Child, ChildStdout, Command, Stdio}; @@ -45,17 +44,13 @@ enum InteropResult { Failure { message: String }, } + #[derive(Error, Debug)] +#[error("simulator driver error: {msg}")] struct SimulatorDriverError { msg: String, } -impl Display for SimulatorDriverError { - fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { - write!(f, "simulator driver error: {}", self.msg) - } -} - impl SimulatorDriver { fn new(device: String, application: String) -> Self { log::info!("launching application: {}", application);