You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by mg...@apache.org on 2022/01/20 18:53:06 UTC

[avro] branch master updated: AVRO-3316 [Rust] build breaks in docker build

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 9917a55  AVRO-3316 [Rust] build breaks in docker build
9917a55 is described below

commit 9917a55d858dcd74d53176fad5341eb3f8846ae8
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
AuthorDate: Thu Jan 20 20:50:55 2022 +0200

    AVRO-3316 [Rust] build breaks in docker build
    
    Make the test return Unit. No need to return Ok (Result)
    
    Signed-off-by: Martin Tzvetanov Grigorov <mg...@apache.org>
---
 lang/rust/tests/io.rs | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lang/rust/tests/io.rs b/lang/rust/tests/io.rs
index 2d4c7ee..4714493 100644
--- a/lang/rust/tests/io.rs
+++ b/lang/rust/tests/io.rs
@@ -218,7 +218,7 @@ fn test_default_value() {
 }
 
 #[test]
-fn test_no_default_value() -> Result<(), Error> {
+fn test_no_default_value() {
     let reader_schema = Schema::parse_str(
         r#"{
             "type": "record",
@@ -236,7 +236,6 @@ fn test_no_default_value() -> Result<(), Error> {
         Some(&reader_schema),
     );
     assert!(result.is_err());
-    Ok(())
 }
 
 #[test]