@@ -1,6 +1,5 @@
11mod tester;
22
3−use std::process::{Command, Stdio};
43use tester::BatTester;
54
65static STYLES: &'static [&'static str] = &[
@@ -25,17 +24,6 @@ static STYLES: &'static [&'static str] = &[
2524
2625#[test]
2726fn test_snapshots() {
28− let status = Command::new("git")
29− .arg("rev-parse")
30− .stdout(Stdio::null())
31− .stderr(Stdio::null())
32− .status();
33−
34− if !status.map(|s| s.success()).unwrap_or(false) {
35− // Git not available or not a git repository. Skipping snapshot test.
36− return;
37− }
38−
3927 let bat_tester = BatTester::new();
4028
4129 for style in STYLES {