-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Remove unnecessary duplication in how we test Noir compiler (#…
…2248) chore: remove unnecessary tests
- Loading branch information
1 parent
ed5273c
commit 5690229
Showing
24 changed files
with
5 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...arget_tests_data/fail/dup_func/Nargo.toml → ...compile_failure/constrain_typo/Nargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[package] | ||
name = "fail_dup_func" | ||
name = "constrain_typo" | ||
type = "bin" | ||
authors = [""] | ||
compiler_version = "0.1" | ||
|
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
.../target_tests_data/pass/import/Nargo.toml → ..._failure/duplicate_declaration/Nargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...s/target_tests_data/pass/basic/Nargo.toml → ...mpile_success/unused_variables/Nargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[package] | ||
name = "pass_basic" | ||
name = "unused_variables" | ||
type = "bin" | ||
authors = [""] | ||
compiler_version = "0.1" | ||
|
File renamed without changes.
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
crates/nargo_cli/tests/compile_tests_data/fail/different-lambda-env-reassign-disallow.nr
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
crates/nargo_cli/tests/compile_tests_data/pass/basic_import.nr
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...s/target_tests_data/fail/basic/Nargo.toml → ...tests/execution_success/import/Nargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[package] | ||
name = "fail_basic" | ||
name = "import" | ||
type = "bin" | ||
authors = [""] | ||
compiler_version = "0.1" | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
crates/nargo_cli/tests/execution_success/import/target/import.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"backend":"acvm-backend-barretenberg","abi":{"parameters":[{"name":"x","type":{"kind":"field"},"visibility":"private"},{"name":"y","type":{"kind":"field"},"visibility":"private"}],"param_witnesses":{"x":[1],"y":[2]},"return_type":null,"return_witnesses":[]},"bytecode":"H4sIAAAAAAAA/7VTSQ7DIAw0SRt66ltslmBu/UpRyf9fULVSieQmucWMhGw4jMdjcwOACX4wLTfi/m75+D0X+MfY4qNFPAcygsvjHEJNrpKnJ7pcOGKIZWZiihxfjr2vHDjlkhNmCr7SErNfGtmgyHXV6xFH4a+EUfZSU7PUO4l83YfhYCemDj3Bps7Wx/vBm2rxHkPqYZQFveXv1bfVnxEKyp3msz5YRZ2D0Cg/z4oPWGlYTZUFAAA=","proving_key":null,"verification_key":null} |
Binary file not shown.
2 changes: 0 additions & 2 deletions
2
crates/nargo_cli/tests/target_tests_data/pass/basic/Prover.toml
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
crates/nargo_cli/tests/target_tests_data/pass/basic/src/main.nr
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
crates/nargo_cli/tests/target_tests_data/pass/import/Prover.toml
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
crates/nargo_cli/tests/target_tests_data/pass/import/src/import.nr
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
crates/nargo_cli/tests/target_tests_data/pass_dev_mode/unused/Nargo.toml
This file was deleted.
Oops, something went wrong.