about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorCaleb Cartwright <caleb.cartwright@outlook.com>2021-10-13 21:22:34 -0500
committerCaleb Cartwright <calebcartwright@users.noreply.github.com>2021-10-13 21:58:13 -0500
commitc9c1932be3299b40eab63106deeb5d5ad2283b61 (patch)
treebb11bfe9855252aae1cda26194161b948ebeaa51 /src/test
parentf2fb3c9659e072d7df6315906f1adbd06c3bc9e3 (diff)
feat: stabilize disable_all_formatting
Diffstat (limited to 'src/test')
-rw-r--r--src/test/mod.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/test/mod.rs b/src/test/mod.rs
index ece1b91bfd7..48d61289a9b 100644
--- a/src/test/mod.rs
+++ b/src/test/mod.rs
@@ -469,11 +469,6 @@ fn stdin_works_with_modified_lines() {
 #[test]
 fn stdin_disable_all_formatting_test() {
     init_log();
-    match option_env!("CFG_RELEASE_CHANNEL") {
-        None | Some("nightly") => {}
-        // These tests require nightly.
-        _ => return,
-    }
     let input = String::from("fn main() { println!(\"This should not be formatted.\"); }");
     let mut child = Command::new(rustfmt().to_str().unwrap())
         .stdin(Stdio::piped())