From 5ad36385af00cb1ba7720a3d11b213b58e6f3747 Mon Sep 17 00:00:00 2001 From: Chris Macklin Date: Tue, 2 Apr 2024 00:27:05 -0700 Subject: [PATCH] Remove export_code test. --- enclone_exec/tests/enclone_test4.rs | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/enclone_exec/tests/enclone_test4.rs b/enclone_exec/tests/enclone_test4.rs index 79dbbe2d0..a4d7f3551 100644 --- a/enclone_exec/tests/enclone_test4.rs +++ b/enclone_exec/tests/enclone_test4.rs @@ -5,7 +5,6 @@ use enclone_core::defs::*; use enclone_main::main_enclone::main_enclone; use enclone_ranger::main_enclone::main_enclone_ranger; -use enclone_vars::export_code::*; use enclone_vars::var::*; use enclone_vars::*; use io_utils::*; @@ -579,28 +578,6 @@ fn test_unpushed() { // ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -// 40. Test to see that export_code has been run. -// An attempt to make this basic failed. - -// NOT BASIC - -#[cfg(not(feature = "basic"))] -#[cfg(not(feature = "cpu"))] -#[test] -fn test_export_code() { - let outs = export_code(1); - for i in 0..outs.len() { - let f = format!("../{}", outs[i].0); - let current = std::fs::read_to_string(&f).unwrap(); - if outs[i].1 != current { - eprintln!("\nexport_code output {} has changed.\n", outs[i].0); - panic!("failed"); - } - } -} - -// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ - // 41. Test a funny command with a newline that asserted at one point. // An attempt to make this basic failed.