Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(nargo): add test to example noir program #1039

Merged
merged 2 commits into from
Mar 27, 2023
Merged

Conversation

TomAFrench
Copy link
Member

Related issue(s)

Related to noir-lang/docs#34. We'll likely want to give an example test for users to run without them having to write it themselves.

Description

Summary of changes

I've updated the value of EXAMPLE to include a test which will be tested by nargo test.

At the same time, I noticed that we always insert a compiler version of 0.1.0 into the Nargo.toml. I've changed this to pull the version from cargo.

Dependency additions / changes

Test additions / changes

Checklist

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt with default settings.
  • I have linked this PR to the issue(s) that it resolves.
  • I have reviewed the changes on GitHub, line by line.
  • I have ensured all changes are covered in the description.

Documentation needs

  • This PR requires documentation updates when merged.

Additional context

@TomAFrench TomAFrench changed the title fea(nargo): add test to example noir program feat(nargo): add test to example noir program Mar 25, 2023
@TomAFrench TomAFrench requested a review from phated March 27, 2023 18:20
@phated phated added this pull request to the merge queue Mar 27, 2023
Merged via the queue into master with commit f994c4f Mar 27, 2023
@phated phated deleted the add-test-to-new-project branch March 27, 2023 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants