Skip to content

Commit

Permalink
add test for Default
Browse files Browse the repository at this point in the history
  • Loading branch information
JannesBrands committed Feb 21, 2024
1 parent 5a7da26 commit 073356f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/j1939/address.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,8 @@ mod tests {

let address = Address::NULL;
assert!(address.is_null());

let address = Address::default();
assert!(address.is_null());
}
}

0 comments on commit 073356f

Please sign in to comment.