\set ECHO none 1..76 ok 1 - "0.0.4" is a valid semver ok 2 - "1.2.3" is a valid semver ok 3 - "10.20.30" is a valid semver ok 4 - "1.1.2-prerelease+meta" is a valid semver ok 5 - "1.1.2+meta" is a valid semver ok 6 - "1.1.2+meta-valid" is a valid semver ok 7 - "1.0.0-alpha" is a valid semver ok 8 - "1.0.0-beta" is a valid semver ok 9 - "1.0.0-alpha.beta" is a valid semver ok 10 - "1.0.0-alpha.beta.1" is a valid semver ok 11 - "1.0.0-alpha.1" is a valid semver ok 12 - "1.0.0-alpha0.valid" is a valid semver ok 13 - "1.0.0-alpha.0valid" is a valid semver ok 14 - "1.0.0-alpha-a.b-c-somethinglong+build.1-aef.1-its-okay" is a valid semver ok 15 - "1.0.0-rc.1+build.1" is a valid semver ok 16 - "2.0.0-rc.1+build.123" is a valid semver ok 17 - "1.2.3-beta" is a valid semver ok 18 - "10.2.3-DEV-SNAPSHOT" is a valid semver ok 19 - "1.2.3-SNAPSHOT-123" is a valid semver ok 20 - "1.0.0" is a valid semver ok 21 - "2.0.0" is a valid semver ok 22 - "1.1.7" is a valid semver ok 23 - "2.0.0+build.1848" is a valid semver ok 24 - "2.0.1-alpha.1227" is a valid semver ok 25 - "1.0.0-alpha+beta" is a valid semver ok 26 - "1.2.3----RC-SNAPSHOT.12.9.1--.12+788" is a valid semver ok 27 - "1.2.3----R-S.12.9.1--.12+meta" is a valid semver ok 28 - "1.2.3----RC-SNAPSHOT.12.9.1--.12" is a valid semver ok 29 - "1.0.0+0.build.1-rc.10000aaa-kk-0.1" is a valid semver ok 30 - "1.0.0-0A.is.legal" is a valid semver ok 31 - "1.0.0-0010-1234" is a valid semver ok 32 - "1.0.0-1.2.3-1234" is a valid semver ok 33 - "1.0.0-1234" is a valid semver ok 34 - "1.0.0-4321" is a valid semver ok 35 - "0.0.0-00010101000000-000000000000" is a valid semver not ok 36 - "99999999999999999999999.999999999999999999.99999999999999999" is a valid semver # TODO Large versions overflow integer bounds # Failed (TODO) test 36: ""99999999999999999999999.999999999999999999.99999999999999999" is a valid semver" # died: XX000: bad semver value '99999999999999999999999.999999999999999999.99999999999999999': version number exceeds 31-bit range ok 37 - "1" is not a valid semver ok 38 - "1.2" is not a valid semver ok 39 - "1.2.3-0123" is not a valid semver ok 40 - "1.2.3-0123.0123" is not a valid semver ok 41 - "1.1.2+.123" is not a valid semver ok 42 - "+invalid" is not a valid semver ok 43 - "-invalid" is not a valid semver ok 44 - "-invalid+invalid" is not a valid semver ok 45 - "-invalid.01" is not a valid semver ok 46 - "alpha" is not a valid semver ok 47 - "alpha.beta" is not a valid semver ok 48 - "alpha.beta.1" is not a valid semver ok 49 - "alpha.1" is not a valid semver ok 50 - "alpha+beta" is not a valid semver ok 51 - "alpha_beta" is not a valid semver ok 52 - "alpha." is not a valid semver ok 53 - "alpha.." is not a valid semver ok 54 - "beta" is not a valid semver ok 55 - "1.0.0-alpha_beta" is not a valid semver ok 56 - "-alpha." is not a valid semver ok 57 - "1.0.0-alpha.." is not a valid semver ok 58 - "1.0.0-alpha..1" is not a valid semver ok 59 - "1.0.0-alpha...1" is not a valid semver ok 60 - "1.0.0-alpha....1" is not a valid semver ok 61 - "1.0.0-alpha.....1" is not a valid semver ok 62 - "1.0.0-alpha......1" is not a valid semver ok 63 - "1.0.0-alpha.......1" is not a valid semver ok 64 - "01.1.1" is not a valid semver ok 65 - "1.01.1" is not a valid semver ok 66 - "1.1.01" is not a valid semver ok 67 - "1.2" is not a valid semver ok 68 - "1.2.3.DEV" is not a valid semver ok 69 - "1.2-SNAPSHOT" is not a valid semver ok 70 - "1.2.31.2.3----RC-SNAPSHOT.12.09.1--..12+788" is not a valid semver ok 71 - "1.2-RC-SNAPSHOT" is not a valid semver ok 72 - "-1.0.3-gamma+b7718" is not a valid semver ok 73 - "+justmeta" is not a valid semver ok 74 - "9.8.7+meta+meta" is not a valid semver ok 75 - "9.8.7-whatever+meta+meta" is not a valid semver ok 76 - "99999999999999999999999.999999999999999999.99999999999999999----RC-SNAPSHOT.12.09.1--------------------------------..12" is not a valid semver