mirror of
https://github.com/revanced/smali.git
synced 2025-05-02 15:44:30 +02:00
Fixed test to use getTypeDescriptor() instead of toString()
git-svn-id: https://smali.googlecode.com/svn/trunk@60 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
parent
b0b76a1924
commit
9b649b5efc
@ -70,7 +70,7 @@ public class TryListBuilderTest
|
||||
CodeItem.EncodedTypeAddrPair typeAddrPair = encodedCatchHandler.getHandler(i);
|
||||
Handler handler = handlers[i];
|
||||
|
||||
Assert.assertTrue(typeAddrPair.getTypeReferenceField().toString().compareTo(handler.type) == 0);
|
||||
Assert.assertTrue(typeAddrPair.getTypeReferenceField().getTypeDescriptor().compareTo(handler.type) == 0);
|
||||
Assert.assertTrue(typeAddrPair.getHandlerAddress() == handler.handlerAddress);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user