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

support mocking time.Sleep, add trap.Direct #28

Merged
merged 1 commit into from
Apr 3, 2024
Merged

Conversation

xhd2015
Copy link
Owner

@xhd2015 xhd2015 commented Apr 3, 2024

Addressing #18 (comment) :

they use gomonkey to mock these stdlib APIs: time.NewTicker, syscall.Kill, os.OpenFile,file.WriteAt,file.Sync, file.Close

@xhd2015 xhd2015 force-pushed the support-time-sleep branch 2 times, most recently from daf074a to 7d84b6f Compare April 3, 2024 06:34
@xhd2015 xhd2015 merged commit 6f59a90 into master Apr 3, 2024
1 check passed
@xhd2015 xhd2015 deleted the support-time-sleep branch April 3, 2024 08:20
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.

1 participant