Skip to content

Commit 0f5055d

Browse files
committed
Fix tests
1 parent a121b57 commit 0f5055d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

efivar/src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,11 @@ pub fn file_store_std<P: Into<std::path::PathBuf>>(filename: P) -> Box<dyn VarMa
111111
#[cfg(test)]
112112
mod tests {
113113
use super::*;
114-
use crate::efi::{VariableFlags, VariableName};
115-
116114
#[test]
115+
#[cfg(feature = "store")]
117116
fn file_store_roundtrip() {
117+
use crate::efi::{VariableFlags, VariableName};
118+
118119
{
119120
// Create a store from the file doc-test.toml
120121
let mut store = file_store("doc-test.toml");

0 commit comments

Comments
 (0)