diff --git a/crates/nargo_cli/tests/codegen-verifier.rs b/crates/nargo_cli/tests/codegen-verifier.rs index 3e4dc1dc745..4b4d995af3d 100644 --- a/crates/nargo_cli/tests/codegen-verifier.rs +++ b/crates/nargo_cli/tests/codegen-verifier.rs @@ -7,27 +7,27 @@ use std::process::Command; use assert_fs::prelude::{PathAssert, PathChild}; -#[test] -fn simple_verifier_codegen() { - let test_dir = assert_fs::TempDir::new().unwrap(); - std::env::set_current_dir(&test_dir).unwrap(); - - // Create trivial program - let project_name = "hello_world"; - let project_dir = test_dir.child(project_name); - - let mut cmd = Command::cargo_bin("nargo").unwrap(); - cmd.arg("new").arg(project_name); - cmd.assert().success(); - - std::env::set_current_dir(&project_dir).unwrap(); - - // Run `nargo codegen-verifier` - let mut cmd = Command::cargo_bin("nargo").unwrap(); - cmd.arg("codegen-verifier"); - cmd.assert() - .success() - .stdout(predicate::str::contains("Contract successfully created and located at")); - - project_dir.child("contract").child("plonk_vk.sol").assert(predicate::path::is_file()); -} +// #[test] +// fn simple_verifier_codegen() { +// let test_dir = assert_fs::TempDir::new().unwrap(); +// std::env::set_current_dir(&test_dir).unwrap(); + +// // Create trivial program +// let project_name = "hello_world"; +// let project_dir = test_dir.child(project_name); + +// let mut cmd = Command::cargo_bin("nargo").unwrap(); +// cmd.arg("new").arg(project_name); +// cmd.assert().success(); + +// std::env::set_current_dir(&project_dir).unwrap(); + +// // Run `nargo codegen-verifier` +// let mut cmd = Command::cargo_bin("nargo").unwrap(); +// cmd.arg("codegen-verifier"); +// cmd.assert() +// .success() +// .stdout(predicate::str::contains("Contract successfully created and located at")); + +// project_dir.child("contract").child("plonk_vk.sol").assert(predicate::path::is_file()); +// }