Fix wrong assertion

Fix a mistake I did while replacing JUnit's assertThat() with Truth's
assertThat().

Change-Id: I04f67287d87e7101e0d2706699985cb8adfae6a2
This commit is contained in:
Matthias Sohn
2016-01-28 16:04:35 +01:00
parent 0eda471cf2
commit 9d1feda566

View File

@@ -14,7 +14,6 @@
package com.google.gerrit.server.schema;
import static com.google.common.truth.Truth.assertThat;
import static org.hamcrest.CoreMatchers.sameInstance;
import org.eclipse.jgit.lib.Config;
import org.junit.Before;
@@ -43,6 +42,6 @@ public class HANATest {
@Test
public void testGetIndexScript() throws Exception {
assertThat(hana.getIndexScript()).isEqualTo(sameInstance(ScriptRunner.NOOP));
assertThat(hana.getIndexScript()).isSameAs(ScriptRunner.NOOP);
}
}