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 <[email protected]>
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 {