Skip to content

Commit

Permalink
Test failure in testReadFromValidCSVContentString.java on Windows (#28)
Browse files Browse the repository at this point in the history
* Test failure in testReadFromValidCSVContentString.java on Windows

* Fix tests for path-traversal fix
  • Loading branch information
iSnow authored Nov 1, 2019
1 parent b1924bb commit af278db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/io/frictionlessdata/tableschema/Schema.java
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ private void initValidator(){

/**
* Check if schema is valid or not.
* @return
* @return
*/
public boolean isValid(){
try{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit af278db

Please sign in to comment.