We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77b45be commit 3548e14Copy full SHA for 3548e14
tests/volume.rs
@@ -58,6 +58,12 @@ fn open_all_volumes() {
58
Err(embedded_sdmmc::Error::FormatError(_e))
59
));
60
61
+ // This isn't a valid volume
62
+ assert!(matches!(
63
+ volume_mgr.open_raw_volume(embedded_sdmmc::VolumeIdx(3)),
64
+ Err(embedded_sdmmc::Error::FormatError(_e))
65
+ ));
66
+
67
// This isn't a valid volume
68
assert!(matches!(
69
volume_mgr.open_raw_volume(embedded_sdmmc::VolumeIdx(9)),
0 commit comments