Skip to content

Commit

Permalink
chore: check for errors in formatter tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Nov 27, 2023
1 parent 9f1382f commit 9ab8f5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tooling/nargo_fmt/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ fn format_{test_name}() {{
let (parsed_module, errors) = noirc_frontend::parse_program(&input);
assert!(errors.is_empty(), "Encountered errors while parsing program);
let config = nargo_fmt::Config::of("{config}").unwrap();
let fmt_text = nargo_fmt::format(&input, parsed_module, &config);
Expand Down

0 comments on commit 9ab8f5e

Please sign in to comment.