-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
gomonkey
breaks tests on macOS
#1178
Comments
@akojo Would you mind taking a look at this issue? I don't own a MacOS. |
Yep, I'll take a stab at rewriting the offending tests so that they don't use |
Thanks. |
Unfortunately, I can't reproduce it on macOS Monterey 12.3.1. $ go version $ go version |
I'm guessing it only affects |
Do you have an eta for this? I'm working on some rewrite for parser.go and It may be nice to not slow you down due to conflicts. |
Describe the bug
Since macOS doesn't allow writing to text section of programs, trying to use
gomonkey
will panic.To Reproduce
Steps to reproduce the behavior:
make test
Expected behavior
Tests succeed
Your swag version
master
Your go version
1.17.6
Desktop (please complete the following information):
Additional context
See for example agiledragon/gomonkey#70
The text was updated successfully, but these errors were encountered: