Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
baoyachi committed Aug 24, 2020
1 parent ac38b69 commit 1462512
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,13 @@ pub fn new_git(
#[cfg(test)]
mod tests {
use super::*;
use crate::Shadow;
use std::path::Path;

#[test]
fn test_git() {
let map = new_git(Path::new("./"), CIType::Github);
let map = Shadow::get_env();
let map = new_git(Path::new("./"), CIType::Github, &map);
println!("map:{:?}", map);
}
}

0 comments on commit 1462512

Please sign in to comment.