mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-31 21:21:39 +08:00
GP-0 corrected test error
This commit is contained in:
+1
-2
@@ -76,10 +76,9 @@ public class ArmOffcutReferenceTest extends AbstractGhidraHeadedIntegrationTest
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testOffcutReferenceInLabelAndOperandFieldWithNoLabelAtInstruction() {
|
public void testOffcutReferenceInLabelAndOperandFieldWithNoLabelAtInstruction() {
|
||||||
|
|
||||||
assertTrue(cb.goToField(addr("0045b3a0"), OperandFieldFactory.FIELD_NAME, 0, 1));
|
assertTrue(cb.goToField(addr("0045b3a0"), OperandFieldFactory.FIELD_NAME, 0, 1));
|
||||||
ListingTextField tf = (ListingTextField) cb.getCurrentField();
|
ListingTextField tf = (ListingTextField) cb.getCurrentField();
|
||||||
assertEquals("test+1", tf.getText());
|
assertEquals("LAB_0023303a+1", tf.getText());
|
||||||
|
|
||||||
assertTrue(cb.goToField(addr("0023303a"), LabelFieldFactory.FIELD_NAME, 0, 1));
|
assertTrue(cb.goToField(addr("0023303a"), LabelFieldFactory.FIELD_NAME, 0, 1));
|
||||||
tf = (ListingTextField) cb.getCurrentField();
|
tf = (ListingTextField) cb.getCurrentField();
|
||||||
|
|||||||
Reference in New Issue
Block a user