Skip to content

Commit

Permalink
fix: debug format and _
Browse files Browse the repository at this point in the history
  • Loading branch information
kevaundray committed Dec 11, 2023
1 parent fbbf8d7 commit 4f4e61e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tooling/nargo_cli/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ fn compile_success_empty_{test_name}() {{
}}
// `compile_success_empty` tests should be able to compile down to an empty circuit.
let json: serde_json::Value = serde_json::from_slice(&output.stdout).unwrap_or_else(|| {{
panic!("JSON was not well-formatted {{}}",output.stdout)
let json: serde_json::Value = serde_json::from_slice(&output.stdout).unwrap_or_else(|_| {{
panic!("JSON was not well-formatted {{:?}}",output.stdout)
}});
let num_opcodes = &json["programs"][0]["acir_opcodes"];
assert_eq!(num_opcodes.as_u64().unwrap(), 0);
Expand Down

0 comments on commit 4f4e61e

Please sign in to comment.