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 483451d commit ef09619
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ import feign.Retryer
import groovy.sql.Sql
import org.apache.commons.io.FileUtils
import org.joda.time.Instant
import org.skyscreamer.jsonassert.JSONAssert
import spock.lang.Ignore
import spock.lang.Shared
import spock.lang.Specification
Expand Down Expand Up @@ -267,6 +268,8 @@ class MetacatSmokeSpec extends Specification {
]
}
"""

JSONAssert.assertEquals(nestedFieldDto.jsonType, expectedJsonString, false)
assert nestedFieldDto.jsonType.toPrettyString() == expectedJsonString
cleanup:
api.deleteTable(catalogName, databaseName, tableName)
Expand Down

0 comments on commit ef09619

Please sign in to comment.