Skip to content

Commit

Permalink
fixup! add skip_if test
Browse files Browse the repository at this point in the history
  • Loading branch information
panicbit committed Jan 22, 2024
1 parent 1c9f671 commit 77befc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_debug_derive/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ fn test_conditional_skip() {
let mut debug_builder = fmt.debug_struct("Point");
debug_builder.field("x", __binding_0);

if (Option::is_none(__binding_1)) {
if (!Option::is_none(__binding_1)) {
debug_builder.field("y", __binding_1);
}

Expand Down

0 comments on commit 77befc9

Please sign in to comment.