return from main function

This commit is contained in:
2020-11-11 08:20:09 +01:00
parent f7fc3229ed
commit c21ba2fa39
5 changed files with 14 additions and 18 deletions
+2
View File
@@ -52,6 +52,8 @@ fn test_create_user_binary() {
let s = Fixture::copy("shadow");
let g = Fixture::copy("group");
dbg!(&p, &s, &g);
let pf = fs::read_to_string(&p.path).unwrap();
let mf = adduser::Files {
+1
View File
@@ -5,6 +5,7 @@ use tempfile::TempDir;
use std::ops::Deref;
#[derive(Debug)]
pub struct Fixture {
pub path: PathBuf,
pub source: PathBuf,