From ea917b3d796b516cfd325e48b9d071c76d7c26ad Mon Sep 17 00:00:00 2001 From: "David E. Wheeler" Date: Sat, 20 Jul 2024 15:27:26 -0400 Subject: [PATCH] Update expected output --- test/expected/corpus.out | 87 ++++++++++++++++++++-------------------- 1 file changed, 44 insertions(+), 43 deletions(-) diff --git a/test/expected/corpus.out b/test/expected/corpus.out index 97ec5f7..528e516 100644 --- a/test/expected/corpus.out +++ b/test/expected/corpus.out @@ -1,5 +1,5 @@ \set ECHO none -1..75 +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 @@ -34,46 +34,47 @@ 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 -not ok 35 - "99999999999999999999999.999999999999999999.99999999999999999" is a valid semver # TODO Large versions overflow integer bounds -# Failed (TODO) test 35: ""99999999999999999999999.999999999999999999.99999999999999999" 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 36 - "1" is not a valid semver -ok 37 - "1.2" is not a valid semver -ok 38 - "1.2.3-0123" is not a valid semver -ok 39 - "1.2.3-0123.0123" is not a valid semver -ok 40 - "1.1.2+.123" is not a valid semver -ok 41 - "+invalid" is not a valid semver -ok 42 - "-invalid" is not a valid semver -ok 43 - "-invalid+invalid" is not a valid semver -ok 44 - "-invalid.01" is not a valid semver -ok 45 - "alpha" is not a valid semver -ok 46 - "alpha.beta" is not a valid semver -ok 47 - "alpha.beta.1" is not a valid semver -ok 48 - "alpha.1" is not a valid semver -ok 49 - "alpha+beta" is not a valid semver -ok 50 - "alpha_beta" is not a valid semver -ok 51 - "alpha." is not a valid semver -ok 52 - "alpha.." is not a valid semver -ok 53 - "beta" is not a valid semver -ok 54 - "1.0.0-alpha_beta" is not a valid semver -ok 55 - "-alpha." is not a valid semver -ok 56 - "1.0.0-alpha.." is not a valid semver -ok 57 - "1.0.0-alpha..1" 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 - "01.1.1" is not a valid semver -ok 64 - "1.01.1" is not a valid semver -ok 65 - "1.1.01" is not a valid semver -ok 66 - "1.2" is not a valid semver -ok 67 - "1.2.3.DEV" is not a valid semver -ok 68 - "1.2-SNAPSHOT" is not a valid semver -ok 69 - "1.2.31.2.3----RC-SNAPSHOT.12.09.1--..12+788" is not a valid semver -ok 70 - "1.2-RC-SNAPSHOT" is not a valid semver -ok 71 - "-1.0.3-gamma+b7718" is not a valid semver -ok 72 - "+justmeta" is not a valid semver -ok 73 - "9.8.7+meta+meta" is not a valid semver -ok 74 - "9.8.7-whatever+meta+meta" is not a valid semver -ok 75 - "99999999999999999999999.999999999999999999.99999999999999999----RC-SNAPSHOT.12.09.1--------------------------------..12" is not a valid semver +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