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

on windows7 run test output:cache_test.go:457: uint8 did not underflow as expected; value: 0 #3

Closed
wukehong opened this issue Aug 17, 2012 · 1 comment
Labels

Comments

@wukehong
Copy link

test fun is TestDecrementUnderflowUint

@patrickmn
Copy link
Owner

Thanks for reporting this. It appears to be partly because of a bug, or at least an inconsistency, in Go: http://code.google.com/p/go/issues/detail?id=3966

Decrement also didn't take uints into consideration. That should be fixed in the latest revision. Please let me know if the tests don't all pass successfully after doing go get -u github.com/pmylund/go-cache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants