Skip to content

Commit

Permalink
chore: refactor test case generation in build.rs (noir-lang#5280)
Browse files Browse the repository at this point in the history
# Description

## Problem\*

Resolves <!-- Link to GitHub Issue -->

## Summary\*

The `build.rs` file for generating the test cases is getting a bit
unmanagable imo. This PR factors out some repeated code and adds a new
helper function so we just need to pass in the body of the test.

## Additional Context



## Documentation\*

Check one:
- [x] No documentation needed.
- [ ] Documentation included in this PR.
- [ ] **[For Experimental Features]** Documentation to be submitted in a
separate PR.

# PR Checklist\*

- [x] I have tested the changes locally.
- [x] I have formatted the changes with [Prettier](https://prettier.io/)
and/or `cargo fmt` on default settings.
  • Loading branch information
TomAFrench authored Jun 20, 2024
1 parent a30814f commit f761b7c
Showing 1 changed file with 228 additions and 329 deletions.
Loading

0 comments on commit f761b7c

Please sign in to comment.