diff --git a/tooling/nargo_fmt/build.rs b/tooling/nargo_fmt/build.rs index 5f9583235a3..30a0aed617a 100644 --- a/tooling/nargo_fmt/build.rs +++ b/tooling/nargo_fmt/build.rs @@ -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);