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

about unit testing #216

Open
willcking opened this issue Dec 6, 2023 · 0 comments
Open

about unit testing #216

willcking opened this issue Dec 6, 2023 · 0 comments
Labels
question Further information is requested

Comments

@willcking
Copy link

I encountered an error when I studied the move-unit-test chapter according to the cookbook.

PS D:\CODE\Move\starcoin\TestExample> mpm package test
INCLUDING DEPENDENCY MoveStdlib
INCLUDING DEPENDENCY StarcoinFramework
INCLUDING DEPENDENCY UnitTest
BUILDING TestExample
thread 'main' panicked at 'assertion failed: !context.env.has_errors()', C:\Users\runneradmin\.cargo\git\checkouts\move-ae0d26a86327ae96\0b3686b\language\move-compiler\src\expansion\translate.rs:1236:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

This is my Move.toml file

[package]
name = "TestExample"
version = "0.0.0"

[dependencies]
MoveStdlib = { git = "https://github.com/move-language/move.git", subdir="language/move-stdlib", rev = "56ab033cc403b489e891424a629e76f643d4fb6b", addr_subst = { "std" = "0x1" } }
StarcoinFramework = {git = "https://github.com/starcoinorg/starcoin-framework.git", rev="cf1deda180af40a8b3e26c0c7b548c4c290cd7e7"}

[addresses]
StarcoinFramework =  "0x1"
Owner="0xAAAA"
@willcking willcking added the question Further information is requested label Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant