@@ -47,10 +47,10 @@ mod tests {
4747 #[ test_case( json!( { "singular" : null} ) , MessageWithBoolValue :: new( ) , json!( { } ) ) ]
4848 #[ test_case( json!( { "singular" : true } ) , MessageWithBoolValue :: new( ) . set_singular( true ) , json!( { "singular" : true } ) ) ]
4949 #[ test_case( json!( { "repeated" : [ ] } ) , MessageWithBoolValue :: new( ) , json!( { } ) ) ]
50- // TODO(#2376) - #[test_case(json!({"repeated": null}), MessageWithBoolValue::new(), json!({}))]
50+ #[ test_case( json!( { "repeated" : null} ) , MessageWithBoolValue :: new( ) , json!( { } ) ) ]
5151 #[ test_case( json!( { "repeated" : [ false ] } ) , MessageWithBoolValue :: new( ) . set_repeated( [ false ] ) , json!( { "repeated" : [ false ] } ) ) ]
5252 #[ test_case( json!( { "map" : { } } ) , MessageWithBoolValue :: new( ) , json!( { } ) ) ]
53- // TODO(#2376) - #[test_case(json!({"map": null}), MessageWithBoolValue::new(), json!({}))]
53+ #[ test_case( json!( { "map" : null} ) , MessageWithBoolValue :: new( ) , json!( { } ) ) ]
5454 #[ test_case( json!( { "map" : { "key" : true } } ) , MessageWithBoolValue :: new( ) . set_map( [ ( "key" , true ) ] ) , json!( { "map" : { "key" : true } } ) ) ]
5555 fn generated_bool_value_fields (
5656 input : Value ,
@@ -207,10 +207,10 @@ mod tests {
207207 #[ test_case( json!( { "singular" : null} ) , MessageWithStringValue :: new( ) , json!( { } ) ) ]
208208 #[ test_case( json!( { "singular" : LAZY } ) , MessageWithStringValue :: new( ) . set_singular( LAZY ) , json!( { "singular" : LAZY } ) ) ]
209209 #[ test_case( json!( { "repeated" : [ ] } ) , MessageWithStringValue :: new( ) , json!( { } ) ) ]
210- // TODO(#2376) - #[test_case(json!({"repeated": null}), MessageWithStringValue::new(), json!({}))]
210+ #[ test_case( json!( { "repeated" : null} ) , MessageWithStringValue :: new( ) , json!( { } ) ) ]
211211 #[ test_case( json!( { "repeated" : [ LAZY ] } ) , MessageWithStringValue :: new( ) . set_repeated( [ LAZY ] ) , json!( { "repeated" : [ LAZY ] } ) ) ]
212212 #[ test_case( json!( { "map" : { } } ) , MessageWithStringValue :: new( ) , json!( { } ) ) ]
213- // TODO(#2376) - #[test_case(json!({"map": null}), MessageWithStringValue::new(), json!({}))]
213+ #[ test_case( json!( { "map" : null} ) , MessageWithStringValue :: new( ) , json!( { } ) ) ]
214214 #[ test_case( json!( { "map" : { "key" : LAZY } } ) , MessageWithStringValue :: new( ) . set_map( [ ( "key" , LAZY ) ] ) , json!( { "map" : { "key" : LAZY } } ) ) ]
215215 fn generated_string_value_fields (
216216 input : Value ,
0 commit comments