aboutsummaryrefslogtreecommitdiff
path: root/tests/library/corpora/port.toml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/library/corpora/port.toml')
-rw-r--r--tests/library/corpora/port.toml17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/library/corpora/port.toml b/tests/library/corpora/port.toml
new file mode 100644
index 0000000..4c715cc
--- /dev/null
+++ b/tests/library/corpora/port.toml
@@ -0,0 +1,17 @@
+accepts = [
+ "0",
+ "1",
+ "80",
+ "443",
+ "8080",
+ "65535",
+]
+
+rejects = [
+ "",
+ "65536",
+ "99999",
+ "-1",
+ "abc",
+ "8080a",
+]