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

[exp-to-insta][9/n] Migrate move-package tests #21080

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

tnowacki
Copy link
Contributor

@tnowacki tnowacki commented Feb 4, 2025

Description

  • Migrated move-package tests

Test plan

  • 👀

Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • Protocol:
  • Nodes (Validators and Full nodes):
  • gRPC:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:

@tnowacki tnowacki requested a review from a team February 4, 2025 02:45
Copy link

vercel bot commented Feb 4, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 4, 2025 6:26pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Feb 4, 2025 6:26pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Feb 4, 2025 6:26pm

Copy link
Contributor

@tzakian tzakian left a comment

Choose a reason for hiding this comment

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

Couple little cleanup nits. Otherwise LGTM

toml_path: &'a Path,
kind: &'a str,
) -> datatest_stable::Result<Test<'a>> {
dbg!(&toml_path);
Copy link
Contributor

Choose a reason for hiding this comment

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

Leftover dbg!.

Comment on lines +23 to +25
pub fn snapshot_path(pkg: &Path, name: &str, kind: &str) -> PathBuf {
pkg.join(format!("{name}@{kind}.snap"))
}
Copy link
Contributor

Choose a reason for hiding this comment

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

It appears as though this function is unused. Not sure if you were planning on using this instead of the snapshot_path function in test_dependency_graph or not.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It was used in an earlier commit, missed the cleanup, thanks!

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