This is an automated email from the ASF dual-hosted git repository.
mgrigorov pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/avro.git
The following commit(s) were added to refs/heads/main by this push:
new 4739bf20e a
4739bf20e is described below
commit 4739bf20ed076dce371746ddee4af8e01e2bcab4
Author: Martin Tzvetanov Grigorov <[email protected]>
AuthorDate: Thu Jan 4 13:17:21 2024 +0200
a
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
---
lang/rust/avro/src/schema.rs | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/lang/rust/avro/src/schema.rs b/lang/rust/avro/src/schema.rs
index b26090cf2..787e8596e 100644
--- a/lang/rust/avro/src/schema.rs
+++ b/lang/rust/avro/src/schema.rs
@@ -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(())
@@ -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(())