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

gocode: Add failed embedding case, fix test #101

Merged
merged 1 commit into from
Jan 13, 2023
Merged

Conversation

sdboyer
Copy link
Contributor

@sdboyer sdboyer commented Jan 13, 2023

This adds a (failed, todo) test case in encoding/gocode to check the Go code output of embedding a struct within a schema. This is something we want to improve on, and this test case provides us a target of what to fix.

Also fixes what...appear? to be some issues with output ordering in the test, i think due to the shadowed variable in subtest issue.

@sdboyer sdboyer added the bug Something isn't working label Jan 13, 2023
@sdboyer sdboyer merged commit c149c31 into main Jan 13, 2023
mildwonkey pushed a commit that referenced this pull request May 1, 2023
gocode: Add failed embedding case, fix test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant