Skip to content

Commit

Permalink
Add a spec for what is broken
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroSteiner committed Mar 25, 2024
1 parent fba62cd commit e62b8af
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spec/rex/socket_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,13 @@
end
end

context 'with a name containing underscores' do
let(:try) { '_ldap._tcp.msflab.local' }
it 'should return true' do
expect(name).to eq true
end
end

context 'with a fully qualified domain name' do
let(:try) { "www.metasploit.com" }
it "should return true" do
Expand Down

0 comments on commit e62b8af

Please sign in to comment.