From 1b9f7087a85c75f9f96ee65025c7e159c1c850f2 Mon Sep 17 00:00:00 2001 From: David Schlosnagle Date: Fri, 29 Nov 2024 18:45:11 -0500 Subject: [PATCH] test --- .../dialogue/hc5/ApacheHttpClientBlockingChannelTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dialogue-apache-hc5-client/src/test/java/com/palantir/dialogue/hc5/ApacheHttpClientBlockingChannelTest.java b/dialogue-apache-hc5-client/src/test/java/com/palantir/dialogue/hc5/ApacheHttpClientBlockingChannelTest.java index d5b341b73..2e10fe697 100644 --- a/dialogue-apache-hc5-client/src/test/java/com/palantir/dialogue/hc5/ApacheHttpClientBlockingChannelTest.java +++ b/dialogue-apache-hc5-client/src/test/java/com/palantir/dialogue/hc5/ApacheHttpClientBlockingChannelTest.java @@ -112,8 +112,8 @@ public void renderPath(ListMultimap params, UrlBuilder url) { "https://user@www.example.com:8443/path/to/foo/bar?baz=quux&hello=world#hash-octothorpe ," + " www.example.com, 8443, user", "https://user@[::1]:8443/path/to/foo/bar?baz=quux&hello=world#hash-octothorpe , ::1, 8443, user", - "https://user@[0000:0000:0000:0000:0000:ffff:c0a8:0102]:8443/path/to/foo/bar?baz=quux&hello=world#hash-octothorpe ," - + " 0000:0000:0000:0000:0000:ffff:c0a8:0102, 8443, user", + "https://user@[0000:0000:0000:0000:0000:ffff:c0a8:0102]:8443/path/to/foo/bar?baz=quux&hello=world#an-octothorpe" + + " , 0000:0000:0000:0000:0000:ffff:c0a8:0102, 8443, user", }) void parseAuthority(String input, String expectedHost, int expectedPort, String expectedUserInfo) throws Exception { URL url = new URL(input); @@ -145,7 +145,7 @@ void testHostComparator() { assertThat("www.example.com") .usingComparator(hostComparator) .isEqualTo("www.example.com") - .isNotEqualTo("example.com"); + .isNotEqualTo("github.com"); assertThat("127.0.0.1") .usingComparator(hostComparator) .isEqualTo("127.0.0.1")