Lines Matching refs:localhost
9 s = struct(host = "localhost", port = 80)
11 assert.eq(s, struct(host = "localhost", port = 80))
12 assert.ne(s, struct(host = "localhost", port = 81))
14 assert.eq(str(s), 'struct(host = "localhost", port = 80)')
15 assert.eq(s.host, "localhost")
26 http = hostport(host = "localhost", port = 80)
28 assert.eq(str(http), 'hostport(host = "localhost", port = 80)') # includes name of constructor
30 assert.eq(http, hostport(host = "localhost", port = 80))
31 assert.ne(http, hostport(host = "localhost", port = 443))
32 assert.eq(http.host, "localhost")
45 assert.ne(http, hostport2(host = "localhost", port = 80)) # equal fields but different ctor symbols