You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by vi...@apache.org on 2022/08/22 00:56:56 UTC

[arrow-rs] branch master updated: Fix test_row_type_validation test (#2546)

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

viirya pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/master by this push:
     new dc1448eee Fix test_row_type_validation test (#2546)
dc1448eee is described below

commit dc1448eee2018a3254b22fbffe18bb792e361a37
Author: Liang-Chi Hsieh <vi...@gmail.com>
AuthorDate: Sun Aug 21 17:56:51 2022 -0700

    Fix test_row_type_validation test (#2546)
---
 arrow/src/json/reader.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arrow/src/json/reader.rs b/arrow/src/json/reader.rs
index ce08492ca..096c0af5b 100644
--- a/arrow/src/json/reader.rs
+++ b/arrow/src/json/reader.rs
@@ -2623,7 +2623,7 @@ mod tests {
         let re = builder.build(Cursor::new(json_content));
         assert_eq!(
             re.err().unwrap().to_string(),
-            r#"Json error: Expected JSON record to be an object, found Array([Number(1), String("hello")])"#,
+            r#"Json error: Expected JSON record to be an object, found Array [Number(1), String("hello")]"#,
         );
     }