File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
smarty-rust-sdk/src/international_postal_code_api Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,6 @@ pub struct Candidate {
1313 pub dependent_locality_name : String ,
1414 pub double_dependent_locality : String ,
1515 #[ serde( rename = "postal_code" ) ]
16- pub postal_code_short : String ,
16+ pub postal_code : String ,
1717 pub postal_code_extra : String ,
1818}
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ mod tests {
7373 assert_eq ! ( candidate. administrative_area, "SP" ) ;
7474 assert_eq ! ( candidate. sub_administrative_area, "Greater Sao Paulo" ) ;
7575 assert_eq ! ( candidate. super_administrative_area, "Southeast" ) ;
76- assert_eq ! ( candidate. postal_code_short , "02516" ) ;
76+ assert_eq ! ( candidate. postal_code , "02516" ) ;
7777 assert_eq ! ( candidate. postal_code_extra, "050" ) ;
7878 }
7979}
You can’t perform that action at this time.
0 commit comments