mirror of
https://github.com/revanced/smali.git
synced 2025-05-23 18:16:23 +02:00
Fix minor issue in DisassemblyTest
This commit is contained in:
parent
a9dcd62b92
commit
d6043955f5
@ -79,7 +79,7 @@ public class DisassemblyTest {
|
|||||||
try {
|
try {
|
||||||
// Load file from resources as a stream
|
// Load file from resources as a stream
|
||||||
String inputFilename = getInputFilename(testName);
|
String inputFilename = getInputFilename(testName);
|
||||||
byte[] inputBytes = BaksmaliTestUtils.readResourceBytesFully(getInputFilename(testName));
|
byte[] inputBytes = BaksmaliTestUtils.readResourceBytesFully(inputFilename);
|
||||||
|
|
||||||
DexBackedDexFile inputDex = new DexBackedDexFile(Opcodes.forApi(options.apiLevel), inputBytes);
|
DexBackedDexFile inputDex = new DexBackedDexFile(Opcodes.forApi(options.apiLevel), inputBytes);
|
||||||
Assert.assertEquals(1, inputDex.getClassCount());
|
Assert.assertEquals(1, inputDex.getClassCount());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user