Skip to content

Commit 17b03e7

Browse files
committed
Fix rspec due to an invalid dns becoming valid
1 parent e0df664 commit 17b03e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/lib/rex/socket/range_walker_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525
end
2626

2727
context "with an invalid hostname" do
28-
let(:args) { "asdf.foo." }
28+
let(:args) { "rapid7rapid7rapid7rapid7rapid7rapid7.foo." }
2929
it { should_not be_valid }
3030
end
3131

3232
context "with an invalid hostname and CIDR" do
33-
let(:args) { "asdf.foo./24" }
33+
let(:args) { "rapid7rapid7rapid7rapid7rapid7rapid7.foo./24" }
3434
it { should_not be_valid }
3535
end
3636

0 commit comments

Comments
 (0)