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

Calling cxy_cache_sup:start_cache/3 succeeds with bad param #29

Open
jaynel opened this issue May 16, 2014 · 0 comments
Open

Calling cxy_cache_sup:start_cache/3 succeeds with bad param #29

jaynel opened this issue May 16, 2014 · 0 comments

Comments

@jaynel
Copy link
Member

jaynel commented May 16, 2014

The third argument should be a function, and the code indeed does is_function(Gen_Fun, 3), but the call does not crash.

Create a test case passing the wrong type argument for the third arg (the example was 1000) and ensure that the cxy_cache_fsm:start_link/3 fails when the arglist is wrong.

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

No branches or pull requests

1 participant