Skip to content

Commit be31092

Browse files
committed
Formatting
1 parent 4a9bb30 commit be31092

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/model/versatest.rs

+4-3
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@ impl Flash for Instrument {
177177
match clear_output_queue(self, 60 * 10, Duration::from_secs(1)) {
178178
Ok(()) => {}
179179
Err(InstrumentError::Other(_)) => return Err(InstrumentError::Other(
180-
"Writing image took longer than 10 minutes. Check your connection and try again.".to_string(),
180+
"Writing image took longer than 10 minutes. Check your connection and try again."
181+
.to_string(),
181182
)),
182183
Err(e) => return Err(e),
183184
}
@@ -242,7 +243,8 @@ mod unit {
242243

243244
use crate::{
244245
instrument::{self, authenticate::Authentication, info::Info, Login, Script},
245-
interface::{self, NonBlock}, InstrumentError,
246+
interface::{self, NonBlock},
247+
InstrumentError,
246248
};
247249

248250
use super::Instrument;
@@ -994,7 +996,6 @@ mod unit {
994996
// .withf(|buf: &[u8]| buf == b"endflash\n")
995997
// .returning(|buf: &[u8]| Ok(buf.len()));
996998

997-
998999
// interface
9991000
// .expect_write()
10001001
// .times(1)

0 commit comments

Comments
 (0)