Skip to content

Commit

Permalink
Fix test by changing = to ==.
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith Bennett committed Feb 16, 2015
1 parent d2680e9 commit 6e4b3bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tc_dnsruby.rb
Expand Up @@ -32,7 +32,7 @@ def test_dnsruby
assert(a.any? {|s| s.to_s == ("8.8.8.8")})
assert(a.any? {|s| s.to_s == ("2001:4860:4860::8888")})
Resolv.each_address("google-public-dns-a.google.com.") {|address|
assert((address == "8.8.8.8") || (address = "2001:4860:4860::8888")) }
assert((address == "8.8.8.8") || (address == "2001:4860:4860::8888")) }
end

n = Resolv.getname("8.8.8.8")
Expand Down

0 comments on commit 6e4b3bf

Please sign in to comment.