-
-
Notifications
You must be signed in to change notification settings - Fork 437
fix: add guards for MagickImage.Shave #1581
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
Conversation
| [Fact] | ||
| public void ShouldThrowExceptionWhenSizeIsNegative() | ||
| { | ||
| using var image = new MagickImage(Files.Builtin.Logo); |
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.
Don't think we need to load an image here.
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.
Duly noted. Saw your commits removing image loading. Will update this PR.
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.
Rebased & updated as requested.
dd8ef85 to
40761aa
Compare
👋
Same as usual 😅 : adding guards to prevent negative parameters.
Regards.