Skip to content

Commit 4adb94d

Browse files
PetitBaguettepetit_baguette
authored andcommitted
style(xds): Fix line length in matchHostName_trailingDot test for checkstyle
1 parent e4a5e49 commit 4adb94d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

xds/src/test/java/io/grpc/xds/XdsNameResolverTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2067,8 +2067,10 @@ public void matchHostName_trailingDot() {
20672067
// FQDN (trailing dot) is semantically equivalent to the relative form per RFC 1034 Section 3.1.
20682068
assertThat(XdsNameResolver.matchHostName("foo.googleapis.com.", "foo.googleapis.com")).isTrue();
20692069
assertThat(XdsNameResolver.matchHostName("foo.googleapis.com", "foo.googleapis.com.")).isTrue();
2070-
assertThat(XdsNameResolver.matchHostName("foo.googleapis.com.", "foo.googleapis.com.")).isTrue();
2071-
assertThat(XdsNameResolver.matchHostName("bar.googleapis.com.", "foo.googleapis.com")).isFalse();
2070+
assertThat(XdsNameResolver.matchHostName("foo.googleapis.com.", "foo.googleapis.com."))
2071+
.isTrue();
2072+
assertThat(XdsNameResolver.matchHostName("bar.googleapis.com.", "foo.googleapis.com"))
2073+
.isFalse();
20722074

20732075
// Wildcard + trailing dot combinations.
20742076
String pattern = "*.foo.googleapis.com";

0 commit comments

Comments
 (0)