Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
Yingjian Wu committed Apr 14, 2024
1 parent 432d77e commit d2df4c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ class MetacatSmokeSpec extends Specification {
tableDTO.metadata.get("metadata_location").equals(metadataLocation)
}
tableDTO.getFields().size() == 2
def nestedFieldDto = tableDTO.getFields().find { it.pos == 1 }
def nestedFieldDto = tableDTO.getFields().find { it.name == "info" }
// assert that the type field also keeps the name fidelity
assert nestedFieldDto.type == "(name: chararray,address: (NAME: chararray),nestedArray: {(FIELD1: chararray,field2: chararray)})" : "The type differ from the expected. They are: $nestedFieldDto.type"

Expand Down

0 comments on commit d2df4c6

Please sign in to comment.