Skip to content

Commit 3ec4c92

Browse files
authored
Re-enable commented out test (#379)
While doing other things I noticed that this test was commented out for seemingly no reason.
1 parent a429e7f commit 3ec4c92

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/lib.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,10 @@ fn main() {
248248

249249
assert_eq!(MyInt(50), MyInt(5) * 10);
250250
assert_eq!(DoubleUInt(5, 6) * 10, DoubleUInt(50, 60));
251-
// assert_eq!(DoubleUIntStruct{x:5, y:6} * 10, DoubleUIntStruct{x:50, y:60});
251+
assert_eq!(
252+
DoubleUIntStruct { x: 5, y: 6 } * 10,
253+
DoubleUIntStruct { x: 50, y: 60 }
254+
);
252255

253256
let mut myint = MyInt(5);
254257
assert_eq!(5, *myint);

0 commit comments

Comments
 (0)