aboutsummaryrefslogtreecommitdiff
path: root/tests/library/corpora/semver.toml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/library/corpora/semver.toml')
-rw-r--r--tests/library/corpora/semver.toml18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/library/corpora/semver.toml b/tests/library/corpora/semver.toml
new file mode 100644
index 0000000..287c6c2
--- /dev/null
+++ b/tests/library/corpora/semver.toml
@@ -0,0 +1,18 @@
+accepts = [
+ "1.0.0",
+ "2.1.3",
+ "10.20.30",
+ "1.0.0-alpha",
+ "1.0.0-alpha.1",
+ "1.0.0-rc.1+build.5",
+ "1.0.0+build.1",
+]
+
+rejects = [
+ "",
+ "1",
+ "1.0",
+ "v1.0.0",
+ "1.0.0.0",
+ "01.0.0",
+]