diff options
Diffstat (limited to 'tests/testsuite/golang.rs')
-rw-r--r-- | tests/testsuite/golang.rs | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/tests/testsuite/golang.rs b/tests/testsuite/golang.rs index b5d37bc1f..a2c50e72c 100644 --- a/tests/testsuite/golang.rs +++ b/tests/testsuite/golang.rs @@ -2,7 +2,7 @@ use ansi_term::Color; use std::fs::{self, File}; use std::io; -use crate::common::{self, TestCommand}; +use crate::common; #[test] fn folder_without_go_files() -> io::Result<()> { @@ -138,24 +138,3 @@ fn folder_with_gopkg_lock() -> io::Result<()> { assert_eq!(expected, actual); Ok(()) } - -#[test] -#[ignore] -fn config_disabled() -> io::Result<()> { - let dir = common::new_tempdir()?; - File::create(dir.path().join("main.go"))?; - - let output = common::render_module("golang") - .use_config(toml::toml! { - [golang] - disabled = true - }) - .arg("--path") - .arg(dir.path()) - .output()?; - let actual = String::from_utf8(output.stdout).unwrap(); - - let expected = ""; - assert_eq!(expected, actual); - Ok(()) -} |