+
Skip to content

fix: make the example test in the README compile #3

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

Merged
merged 1 commit into from
Jun 27, 2025

Conversation

marco-m
Copy link
Contributor

@marco-m marco-m commented Jun 27, 2025

Hello @anatol, very simple contribution :-)

I think that the first breakage has been added in b951d15 and then in afd7b1d.

Extracting the example in a file and then running the test:

$ go test
# github.com/anatol/vmtest/examples [github.com/anatol/vmtest/examples.test]
./simple_test.go:27:34: too few values in struct literal of type vmtest.QemuDisk

I think that the first breakage has been added in b951d15 and
then in afd7b1d.

Extracting the example in a file and then running the test:

    $ go test
    # github.com/anatol/vmtest/examples [github.com/anatol/vmtest/examples.test]
    ./simple_test.go:27:34: too few values in struct literal of type vmtest.QemuDisk
@anatol anatol merged commit 302402d into anatol:master Jun 27, 2025
@anatol
Copy link
Owner

anatol commented Jun 27, 2025

Thank you @marco-m

@marco-m marco-m deleted the fix-readme-test branch June 27, 2025 15:57
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
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载