summaryrefslogtreecommitdiff
path: root/src/tests/device.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/device.rs')
-rw-r--r--src/tests/device.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tests/device.rs b/src/tests/device.rs
index 6f88bf5..68f1a39 100644
--- a/src/tests/device.rs
+++ b/src/tests/device.rs
@@ -67,12 +67,11 @@ fn get_serial_number() {
}
#[test]
#[cfg_attr(not(feature = "test-pro"), ignore)]
-// TODO: adapt for storage
fn get_firmware_version() {
let device = Target::connect().unwrap();
assert_eq!(0, device.get_major_firmware_version());
let minor = device.get_minor_firmware_version();
- assert!(minor == 7 || minor == 8);
+ assert!(minor > 0);
}
fn admin_retry<T: Authenticate + Device>(device: T, suffix: &str, count: u8) -> T {