LFSPointerTest: suppress errorprone error [SelfComparison]
The test #testCompareToSame tests comparing against self intentionally. Suppress the error raised by errorprone. Change-Id: If8d70a51ab34ffb6d7f0c9d409746aee8b031408 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
parent
8ad53baa14
commit
083e6fd709
|
@ -241,6 +241,7 @@ public void testCompareToEquals() throws Exception {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@SuppressWarnings("SelfComparison")
|
||||||
public void testCompareToSame() throws Exception {
|
public void testCompareToSame() throws Exception {
|
||||||
AnyLongObjectId id = LongObjectId.fromString(TEST_SHA256);
|
AnyLongObjectId id = LongObjectId.fromString(TEST_SHA256);
|
||||||
LfsPointer lfs = new LfsPointer(id, 4);
|
LfsPointer lfs = new LfsPointer(id, 4);
|
||||||
|
|
Loading…
Reference in New Issue