Skip to content

Commit

Permalink
Update tooling/nargo_fmt/build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench authored Dec 14, 2023
1 parent 9ab8f5e commit 754e68f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tooling/nargo_fmt/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@ fn format_{test_name}() {{
let expected_output = r#"{output_source}"#;
let (parsed_module, errors) = noirc_frontend::parse_program(&input);
assert!(errors.is_empty(), "Encountered errors while parsing program);
let (parsed_module, _errors) = noirc_frontend::parse_program(&input);
let config = nargo_fmt::Config::of("{config}").unwrap();
let fmt_text = nargo_fmt::format(&input, parsed_module, &config);
Expand Down

0 comments on commit 754e68f

Please sign in to comment.