Skip to content

Commit

Permalink
IGNORE: Improving upstream rust code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Koncpa committed May 30, 2023
1 parent 1f32de1 commit f11906d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions keylime-agent/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,13 @@ impl From<tss_esapi::Error> for Error {
}

pub(crate) type Result<T> = std::result::Result<T, Error>;

#[cfg(test)]
mod tests {
use super::*;

#[test]
fn test_error() {

}
}
2 changes: 1 addition & 1 deletion keylime-agent/src/secure_mount.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,4 @@ mod tests {
let test_mount = mount(&secure_dir_path, secure_size);
assert!(check_mount(&secure_dir_path).is_ok());
}
}
}

0 comments on commit f11906d

Please sign in to comment.