Testing deps should only be used when testing

This commit is contained in:
Adam Lesperance
2019-11-21 00:05:53 -06:00
parent cef2c588b7
commit a1ece05af5
4 changed files with 154 additions and 45 deletions
+2 -4
View File
@@ -1,7 +1,3 @@
extern crate ansi_term;
extern crate tempfile;
use self::tempfile::Builder;
use self::tempfile::TempDir;
use super::*;
use display::format_string;
use std::fs::File;
@@ -9,6 +5,8 @@ use std::io::Write;
use std::panic;
use std::path::PathBuf;
use std::process::Command;
use tempfile::Builder;
use tempfile::TempDir;
#[test]
pub fn test_main() {