Sha256: 728a4b040e12bea17c0d4ba419ff3a9409c3ce156f614a45f2427c4b813313d6

Contents?: true

Size: 519 Bytes

Versions: 31

Compression:

Stored size: 519 Bytes

Contents

require 'helper.rb'

class TestDate < TestHelper
    def test_date
        errors = JSON::Validator.fully_validate('common.json', @@example + 'date.json', fragment: '#/definitions/date', strict: @@strict, list: true)
        assert(errors.empty?, errors.join('n'))
    end
    def test_dateObject
        errors = JSON::Validator.fully_validate('common.json', @@example + 'dateObject.json', fragment: '#/definitions/dateObject', strict: @@strict, list: true)
        assert(errors.empty?, errors.join('n'))
    end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
adiwg-mdjson_schemas-2.9.2.pre.beta.21 test/tc_date.rb
adiwg-mdjson_schemas-2.9.2.pre.beta.20 test/tc_date.rb
adiwg-mdjson_schemas-2.9.2.pre.beta.19 test/tc_date.rb
adiwg-mdjson_schemas-2.9.1 test/tc_date.rb
adiwg-mdjson_schemas-2.9.0 test/tc_date.rb
adiwg-mdjson_schemas-2.8.1 test/tc_date.rb
adiwg-mdjson_schemas-2.8.0 test/tc_date.rb
adiwg-mdjson_schemas-2.8.0.pre.beta9 test/tc_date.rb
adiwg-mdjson_schemas-2.8.0.pre.beta8 test/tc_date.rb
adiwg-mdjson_schemas-2.8.0.pre.rc8 test/tc_date.rb
adiwg-mdjson_schemas-2.8.0.pre.rc7 test/tc_date.rb
adiwg-mdjson_schemas-2.8.0.pre.beta6 test/tc_date.rb
adiwg-mdjson_schemas-2.8.0.pre.beta3 test/tc_date.rb
adiwg-mdjson_schemas-2.8.0.pre.beta2 test/tc_date.rb
adiwg-mdjson_schemas-2.8.0.pre.beta test/tc_date.rb
adiwg-mdjson_schemas-2.7.0 test/tc_date.rb
adiwg-mdjson_schemas-2.6.3 test/tc_date.rb
adiwg-mdjson_schemas-2.6.2 test/tc_date.rb
adiwg-mdjson_schemas-2.6.1 test/tc_date.rb
adiwg-mdjson_schemas-2.6.0 test/tc_date.rb