Skip to content

Commit bcbe116

Browse files
authored
fix: add missing assertion to test (#3765)
# Description The test should be asserting that the parse method returns an error ## Problem\* Resolves <!-- Link to GitHub Issue --> ## Summary\* ## Additional Context ## Documentation\* Check one: - [ ] No documentation needed. - [ ] Documentation included in this PR. - [ ] **[Exceptional Case]** Documentation to be submitted in a separate PR. # PR Checklist\* - [ ] I have tested the changes locally. - [ ] I have formatted the changes with [Prettier](https://prettier.io/) and/or `cargo fmt` on default settings.
1 parent 010fdb6 commit bcbe116

File tree

1 file changed

+1
-2
lines changed
  • tooling/noirc_abi/src/input_parser

1 file changed

+1
-2
lines changed

tooling/noirc_abi/src/input_parser/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,6 @@ mod test {
297297
#[test]
298298
fn rejects_noncanonical_fields() {
299299
let noncanonical_field = FieldElement::modulus().to_string();
300-
let parsed_field = parse_str_to_field(&noncanonical_field);
301-
println!("{parsed_field:?}");
300+
assert!(parse_str_to_field(&noncanonical_field).is_err());
302301
}
303302
}

0 commit comments

Comments
 (0)