Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

tests: calling os.Exit in TestMain is not required #3856

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

alexandear
Copy link
Contributor

This PR simplifies tests by removing os.Exit calls in TestMain. It's not needed from Go 1.15, see golang/go#34129.

Additionally, this PR updates the comment for RunTestsWithFixtures.

@alexandear alexandear force-pushed the tests-refactor-test-main branch from 8e0dc0b to 010798f Compare November 7, 2024 19:41
Copy link
Member

@aarzilli aarzilli left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@derekparker derekparker left a comment

Choose a reason for hiding this comment

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

LGTM

@derekparker derekparker merged commit b4cfc8f into go-delve:master Nov 12, 2024
2 checks passed
@alexandear alexandear deleted the tests-refactor-test-main branch November 12, 2024 16:10
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants