From af278db627fcd9aa9fc700279573483c42320a3a Mon Sep 17 00:00:00 2001 From: Johannes Jander <139699+iSnow@users.noreply.github.com> Date: Fri, 1 Nov 2019 18:11:00 +0100 Subject: [PATCH] Test failure in testReadFromValidCSVContentString.java on Windows (#28) * Test failure in testReadFromValidCSVContentString.java on Windows * Fix tests for path-traversal fix --- src/main/java/io/frictionlessdata/tableschema/Schema.java | 2 +- src/test/java/io/frictionlessdata/tableschema/SchemaTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/io/frictionlessdata/tableschema/Schema.java b/src/main/java/io/frictionlessdata/tableschema/Schema.java index 0c6f358d..e84bef10 100644 --- a/src/main/java/io/frictionlessdata/tableschema/Schema.java +++ b/src/main/java/io/frictionlessdata/tableschema/Schema.java @@ -253,7 +253,7 @@ private void initValidator(){ /** * Check if schema is valid or not. - * @return + * @return */ public boolean isValid(){ try{ diff --git a/src/test/java/io/frictionlessdata/tableschema/SchemaTest.java b/src/test/java/io/frictionlessdata/tableschema/SchemaTest.java index 58751024..f5982f8d 100644 --- a/src/test/java/io/frictionlessdata/tableschema/SchemaTest.java +++ b/src/test/java/io/frictionlessdata/tableschema/SchemaTest.java @@ -34,7 +34,7 @@ public class SchemaTest { @Rule public final ExpectedException exception = ExpectedException.none(); - + @Test public void testCreateSchemaFromValidSchemaJson() throws PrimaryKeyException, ForeignKeyException{ JSONObject schemaJsonObj = new JSONObject();