Skip to content

Commit

Permalink
chore: simplify how blns is loaded into tests (#4705)
Browse files Browse the repository at this point in the history
# Description

## Problem\*

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

## Summary\*

Similarly to #4703, this PR simplifies how we load in the blns file for
tests.

## 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 Apr 3, 2024
1 parent b55a580 commit 463fb77
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 16 deletions.
15 changes: 0 additions & 15 deletions compiler/noirc_frontend/build.rs

This file was deleted.

File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion compiler/noirc_frontend/src/lexer/lexer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@ mod tests {
fn test_big_list_of_naughty_strings() {
use std::mem::discriminant;

let blns_contents = include_str!(env!("BLNS_JSON_PATH"));
let blns_contents = include_str!("./blns/blns.base64.json");
let blns_base64: Vec<String> =
serde_json::from_str(blns_contents).expect("BLNS json invalid");
for blns_base64_str in blns_base64 {
Expand Down

0 comments on commit 463fb77

Please sign in to comment.