diff options
author | sharkdp <davidpeter@web.de> | 2018-06-02 19:03:20 +0200 |
---|---|---|
committer | sharkdp <davidpeter@web.de> | 2018-06-02 19:03:38 +0200 |
commit | c91511cca14655b40263361684df684310c05dc3 (patch) | |
tree | da22b9214897296d9cf28077dc47f759d5cd7268 /tests | |
parent | c9f7a0c1268781676d21cd430ef4a8e2bd106b9e (diff) |
Always run snapshot test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tests.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/tests.rs b/tests/tests.rs index 2bf07906..0f14ae15 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -1,6 +1,5 @@ mod tester; -use std::process::{Command, Stdio}; use tester::BatTester; static STYLES: &'static [&'static str] = &[ @@ -25,17 +24,6 @@ static STYLES: &'static [&'static str] = &[ #[test] fn test_snapshots() { - let status = Command::new("git") - .arg("rev-parse") - .stdout(Stdio::null()) - .stderr(Stdio::null()) - .status(); - - if !status.map(|s| s.success()).unwrap_or(false) { - // Git not available or not a git repository. Skipping snapshot test. - return; - } - let bat_tester = BatTester::new(); for style in STYLES { |