Skip to content

Commit 463fb77

Browse files
authored
chore: simplify how blns is loaded into tests (#4705)
# 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.
1 parent b55a580 commit 463fb77

5 files changed

Lines changed: 1 addition & 16 deletions

File tree

compiler/noirc_frontend/build.rs

Lines changed: 0 additions & 15 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.

compiler/noirc_frontend/src/lexer/lexer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,7 @@ mod tests {
11601160
fn test_big_list_of_naughty_strings() {
11611161
use std::mem::discriminant;
11621162

1163-
let blns_contents = include_str!(env!("BLNS_JSON_PATH"));
1163+
let blns_contents = include_str!("./blns/blns.base64.json");
11641164
let blns_base64: Vec<String> =
11651165
serde_json::from_str(blns_contents).expect("BLNS json invalid");
11661166
for blns_base64_str in blns_base64 {

0 commit comments

Comments
 (0)