Skip to content

Commit

Permalink
Add test with fully numerical hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
ekohl authored and smortex committed Apr 28, 2023
1 parent a241039 commit 3cb8536
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions spec/type_aliases/fqdn_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"\nexample",
"\nexample\n",
"example\n",
'10.10.10.10.10',
'2001:DB8::1',
'www www.example.com',
].each do |value|
Expand Down
1 change: 1 addition & 0 deletions spec/type_aliases/host_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
'[email protected]',
'%.example.com',
'2001:0d8',
'10.10.10.10.10',
].each do |value|
describe value.inspect do
it { is_expected.not_to allow_value(value) }
Expand Down

0 comments on commit 3cb8536

Please sign in to comment.