Skip to content

Commit

Permalink
Hostnames return true as well
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroSteiner committed Feb 9, 2024
1 parent 764718b commit 564dede
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/rex/socket_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,8 @@

context 'with a hostname' do
let(:try) { "localhost" }
it "should return false" do
expect(name).to eq false
it "should return true" do
expect(name).to eq true
end
end

Expand Down

0 comments on commit 564dede

Please sign in to comment.