Sha256: 9cc2af196aa21cede542f8223940f6dbacaf6e0565f7c1ece56a83b92d001508
Contents?: true
Size: 928 Bytes
Versions: 1
Compression:
Stored size: 928 Bytes
Contents
Feature: Core schema: format Scenario: URI When the schema is: """ { "type": "string", "format": "uri" } """ Then '"http://www.google.com"' is valid JSON But '"http://"' is not valid JSON Scenario: IPv4 When the schema is: """ { "type": "string", "format": "ip-address" } """ Then '"127.0.0.1"' is valid JSON But these are not valid JSON: | "" | | "fe80::202:b3ff:fe1e:8329" | Scenario: IPv6 When the schema is: """ { "type": "string", "format": "ipv6" } """ Then these are valid JSON: | "2001:0db8:85a3:0000:0000:8a2e:0370:7334" | | "fe80:0:0:0:202:b3ff:fe1e:8329" | | "fe80::202:b3ff:fe1e:8329" | But these are not valid JSON: | "" | | "127.0.0.1" |
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jschematic-0.0.1 | features/format.feature |