Sha256: 47b2bcdc4fbdf7720d04c08ee5bb315b3ab816f861b426a57f891c7b18c9b215
Contents?: true
Size: 381 Bytes
Versions: 14
Compression:
Stored size: 381 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), 'helper')) class TestCurbCurlEasyResolve < Test::Unit::TestCase def setup @easy = Curl::Easy.new end def test_resolve @easy.resolve = [ "example.com:80:127.0.0.1" ] assert_equal @easy.resolve, [ "example.com:80:127.0.0.1" ] end def test_empty_resolve assert_equal @easy.resolve, nil end end
Version data entries
14 entries across 14 versions & 1 rubygems