Remove record equality test
This commit is contained in:
parent
7f37c8ee5e
commit
ff9fe2c1be
|
@ -326,14 +326,4 @@ public class ProfileGrpcServiceTest {
|
||||||
assertEquals(Status.PERMISSION_DENIED.getCode(), exception.getStatus().getCode());
|
assertEquals(Status.PERMISSION_DENIED.getCode(), exception.getStatus().getCode());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
void test() {
|
|
||||||
record Person(String firstName, String lastName) {};
|
|
||||||
|
|
||||||
Person rob = new Person("rob", "l");
|
|
||||||
Person mike = new Person("rob", "l");
|
|
||||||
|
|
||||||
assertEquals(rob, mike);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue