Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
  • Loading branch information
martin-g committed Jan 4, 2024
1 parent 08a53e6 commit 4739bf2
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions lang/rust/avro/src/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6432,13 +6432,13 @@ mod tests {
let serialized_json = serde_json::to_string_pretty(&schema)?;

let expected_json = r#"{
"type": "fixed",
"name": "decimal_36_10",
"size": 16,
"logicalType": "decimal",
"scale": 10,
"precision": 36
}"#;
"type": "fixed",
"name": "decimal_36_10",
"size": 16,
"logicalType": "decimal",
"scale": 10,
"precision": 36
}"#;

assert_eq!(serialized_json, expected_json);
Ok(())
Expand All @@ -6455,11 +6455,11 @@ mod tests {
let serialized_json = serde_json::to_string_pretty(&schema)?;

let expected_json = r#"{
"type": "bytes",
"logicalType": "decimal",
"scale": 10,
"precision": 36
}"#;
"type": "bytes",
"logicalType": "decimal",
"scale": 10,
"precision": 36
}"#;

assert_eq!(serialized_json, expected_json);
Ok(())
Expand Down

0 comments on commit 4739bf2

Please sign in to comment.