This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a commit to branch branch-1.11
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/branch-1.11 by this push:
     new bda3b2390 Minor formatting
bda3b2390 is described below

commit bda3b2390435c4b8971df3b583742cbea6cdcc7d
Author: Martin Tzvetanov Grigorov <[email protected]>
AuthorDate: Thu Jan 4 13:17:21 2024 +0200

    Minor formatting
    
    Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
    (cherry picked from commit 4739bf20ed076dce371746ddee4af8e01e2bcab4)
---
 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 08055a825..6faf71bfd 100644
--- a/lang/rust/avro/src/schema.rs
+++ b/lang/rust/avro/src/schema.rs
@@ -6430,13 +6430,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(())
@@ -6453,11 +6453,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(())

Reply via email to