Skip to content

Commit 3cb8536

Browse files
ekohlsmortex
authored andcommitted
Add test with fully numerical hostname
1 parent a241039 commit 3cb8536

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Diff for: spec/type_aliases/fqdn_spec.rb

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"\nexample",
2323
"\nexample\n",
2424
"example\n",
25+
'10.10.10.10.10',
2526
'2001:DB8::1',
2627
'www www.example.com',
2728
].each do |value|

Diff for: spec/type_aliases/host_spec.rb

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
2525
'%.example.com',
2626
'2001:0d8',
27+
'10.10.10.10.10',
2728
].each do |value|
2829
describe value.inspect do
2930
it { is_expected.not_to allow_value(value) }

0 commit comments

Comments
 (0)