Skip to content

Commit

Permalink
Re-enable commented out test
Browse files Browse the repository at this point in the history
While doing other things I noticed that this test was commented out for
seemingly no reason.
  • Loading branch information
JelteF committed Jul 2, 2024
1 parent 79e7fec commit 2e0ece6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,10 @@ fn main() {

assert_eq!(MyInt(50), MyInt(5) * 10);
assert_eq!(DoubleUInt(5, 6) * 10, DoubleUInt(50, 60));
// assert_eq!(DoubleUIntStruct{x:5, y:6} * 10, DoubleUIntStruct{x:50, y:60});
assert_eq!(
DoubleUIntStruct { x: 5, y: 6 } * 10,
DoubleUIntStruct { x: 50, y: 60 }
);

let mut myint = MyInt(5);
assert_eq!(5, *myint);
Expand Down

0 comments on commit 2e0ece6

Please sign in to comment.