Commit dc062234 authored by anonym's avatar anonym
Browse files

Fix bad variable after copy-paste mistake.

parent cb9c18c9
require 'socket'
def assert_not_ipaddr(s)
err_msg = "#{@ssh_host} looks like a LAN IP address."
err_msg = "'#{s}' looks like a LAN IP address."
assert_raise(IPAddr::InvalidAddressError, err_msg) do
IPAddr.new(s)
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment