Skip to content

Commit

Permalink
Remove export_code test.
Browse files Browse the repository at this point in the history
  • Loading branch information
macklin-10x committed Apr 2, 2024
1 parent d621bdf commit 5ad3638
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions enclone_exec/tests/enclone_test4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::*;
Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit 5ad3638

Please sign in to comment.