From 2e0ece676c72f071a3978f88c6199de0ed26c465 Mon Sep 17 00:00:00 2001 From: Jelte Fennema-Nio Date: Tue, 2 Jul 2024 16:07:44 +0200 Subject: [PATCH] Re-enable commented out test While doing other things I noticed that this test was commented out for seemingly no reason. --- tests/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/lib.rs b/tests/lib.rs index 783edd52..59632fc0 100644 --- a/tests/lib.rs +++ b/tests/lib.rs @@ -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);