mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
GP-0 corrected test error
This commit is contained in:
parent
898e354ae5
commit
a5ed7d1b2d
1 changed files with 1 additions and 2 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue