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

test: Add tests for allow_paths configuration #26

Merged
merged 4 commits into from
Aug 28, 2024

Conversation

Jrigada
Copy link

@Jrigada Jrigada commented Aug 28, 2024

No description provided.

Copy link

@elfedy elfedy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! two nits:

  1. Clippy is failing
  2. The difference between the two tests is passing the allow_paths option right? So maybe you can just use a single test, where you set up the files once, try to compile without allow_paths, check it fails, then add the allow_paths to the existing project then check it succeeds. I would think it's cleaner that way and also the difference between success/failure is made more evident (just the allow_paths option), but it might be subjective

@Jrigada Jrigada merged commit 346385a into zksync-v0.10.0 Aug 28, 2024
4 checks passed
@Jrigada Jrigada deleted the jrigada-add-tests-for-allowed-paths branch August 28, 2024 18:07
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