@@ -6085,7 +6085,10 @@ OpFunctionEnd"#;
60856085 "%float = OpTypeFloat 32" ,
60866086 "%c = OpConstant %float 1000000" ,
60876087 ] ) ;
6088- assert_eq ! ( operand, dr:: Operand :: LiteralBit32 ( 1_000_000.0_f32 . to_bits( ) ) ) ;
6088+ assert_eq ! (
6089+ operand,
6090+ dr:: Operand :: LiteralBit32 ( 1_000_000.0_f32 . to_bits( ) )
6091+ ) ;
60896092 }
60906093
60916094 #[ test]
@@ -6325,10 +6328,7 @@ OpFunctionEnd"#;
63256328 let mut all_ids = std:: collections:: HashSet :: new ( ) ;
63266329 for function in & module. functions {
63276330 let func_id = function. def . as_ref ( ) . unwrap ( ) . result_id . unwrap ( ) ;
6328- assert ! (
6329- all_ids. insert( func_id) ,
6330- "Duplicate function ID: {func_id}"
6331- ) ;
6331+ assert ! ( all_ids. insert( func_id) , "Duplicate function ID: {func_id}" ) ;
63326332 for param in & function. parameters {
63336333 let param_id = param. result_id . unwrap ( ) ;
63346334 assert ! (
@@ -6339,10 +6339,7 @@ OpFunctionEnd"#;
63396339 for block in & function. blocks {
63406340 if let Some ( label) = & block. label {
63416341 let label_id = label. result_id . unwrap ( ) ;
6342- assert ! (
6343- all_ids. insert( label_id) ,
6344- "Duplicate label ID: {label_id}"
6345- ) ;
6342+ assert ! ( all_ids. insert( label_id) , "Duplicate label ID: {label_id}" ) ;
63466343 }
63476344 }
63486345 }
0 commit comments