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

input_check() function does not account for ffi.error #73

Merged
merged 2 commits into from Apr 28, 2016

Conversation

opalmer
Copy link
Owner

@opalmer opalmer commented Apr 27, 2016

When processing an enum for allowed_types ffi.error may be raised if the value passed in is not an object that ffi.typeof can understand. This PR ensures we still raise InputError in these cases.

@opalmer opalmer self-assigned this Apr 27, 2016
@opalmer opalmer added this to the 0.2.1 milestone Apr 27, 2016
@opalmer opalmer changed the title The input_check() function does not account for ffi.error input_check() function does not account for ffi.error Apr 27, 2016
@codecov-io
Copy link

codecov-io commented Apr 27, 2016

Current coverage is 96.55%

Merging #73 into master will not change coverage

@@             master        #73   diff @@
==========================================
  Files            15         15          
  Lines           754        754          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits            728        728          
  Misses           26         26          
  Partials          0          0          

Sunburst

Powered by Codecov. Last updated by a741a68

@opalmer opalmer merged commit 7fc8d89 into master Apr 28, 2016
@opalmer opalmer deleted the fix_input_check_bug branch April 28, 2016 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants