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

common/lru: Add BasicLRU.Peek testcase #27559

Merged
merged 2 commits into from
Jun 27, 2023
Merged

Conversation

pengin7384
Copy link
Contributor

We don't have test that Peek() function doesn't affect to recent-ness.
Reference: https://github.com/hashicorp/golang-lru/blob/master/simplelru/lru_test.go#L154

@fjl fjl merged commit 9005912 into ethereum:master Jun 27, 2023
@fjl fjl added this to the 1.12.1 milestone Jun 27, 2023
devopsbo3 pushed a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
devopsbo3 added a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
devopsbo3 added a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
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