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

fix(devx): fix move.toml and build-test.mdx #4456

Merged
merged 2 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/content/developer/getting-started/build-test.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Test result: OK. Total tests: 0; passed: 0; failed: 0

### Add Tests

You can add your first unit test by copying the following public test function and adding it to `first_package_tests` file, within the `tests` directory.
You can add your first unit test by copying the following public test function and adding it to the `first_package` file.

```move
#[test]
Expand Down
3 changes: 2 additions & 1 deletion examples/move/first_package/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2024.beta" # edition = "legacy" to use legacy (pre-2024) Move
# authors = ["..."] # e.g., ["Joe Smith ([email protected])", "John Snow ([email protected])"]

[dependencies]
Iota = { local = "../../../crates/iota-framework/packages/iota-framework" }
Iota = { git = "https://github.com/iotaledger/iota.git", subdir = "crates/iota-framework/packages/iota-framework", rev = "testnet" }

# For remote import, use the `{ git = "...", subdir = "...", rev = "..." }`.
# Revision can be a branch, a tag, and a commit hash.
Expand Down Expand Up @@ -34,3 +34,4 @@ first_package = "0x0"
# The dev-addresses section allows overwriting named addresses for the `--test`
# and `--dev` modes.
# alice = "0xB0B"

Loading