-
Notifications
You must be signed in to change notification settings - Fork 38
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
rust: Add missing test coverage #711
Conversation
if self.0.is_null() { | ||
return Err(()); | ||
} | ||
assert!(!self.0.is_null()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having null here is an error of using the Rust API and not a proper error emitted by the C code.
@@ -153,12 +151,6 @@ impl ExecutionResult { | |||
} | |||
} | |||
|
|||
impl From<ExecutionResult> for sys::FizzyExecutionResult { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has not been used and probably will not be used in this form, rather as a Box<>
. Will add it back when needed.
The pointer can only be null if there is an invalid usage of the Rust API.
Codecov Report
@@ Coverage Diff @@
## master #711 +/- ##
==========================================
+ Coverage 99.27% 99.32% +0.04%
==========================================
Files 73 73
Lines 10883 10885 +2
==========================================
+ Hits 10804 10811 +7
+ Misses 79 74 -5
Flags with carried forward coverage won't be shown. Click here to find out more.
|
No description provided.