You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by ie...@apache.org on 2018/11/27 10:01:07 UTC

[avro] branch master updated: AVRO-2181: missing escape character added

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

iemejia 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 d3c726f  AVRO-2181: missing escape character added
d3c726f is described below

commit d3c726fce8d5dd9632960939858af134895ff3ea
Author: Hans-Peter Werner <ha...@dwpbank.de>
AuthorDate: Mon May 28 19:49:39 2018 +0200

    AVRO-2181: missing escape character added
---
 .../compiler/src/test/java/org/apache/avro/compiler/idl/TestIdl.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lang/java/compiler/src/test/java/org/apache/avro/compiler/idl/TestIdl.java b/lang/java/compiler/src/test/java/org/apache/avro/compiler/idl/TestIdl.java
index d6dbef0..04abbc7 100644
--- a/lang/java/compiler/src/test/java/org/apache/avro/compiler/idl/TestIdl.java
+++ b/lang/java/compiler/src/test/java/org/apache/avro/compiler/idl/TestIdl.java
@@ -152,7 +152,7 @@ public class TestIdl {
     public void run() throws Exception {
       String output = generate();
       String slurped = slurp(expectedOut);
-      assertEquals(slurped.trim(), output.replace("\r", "").trim());
+      assertEquals(slurped.trim(), output.replace("\\r", "").trim());
     }
 
     public void write() throws Exception {