mirror of
https://github.com/revanced/Apktool.git
synced 2025-06-13 13:27:37 +02:00
Cleanup
- switch to java7 try-with-resources - add check in unit-tests for checking control
This commit is contained in:
@ -256,7 +256,7 @@ public class BuildAndDecodeTest {
|
||||
// hacky fix - load test by changing name of control
|
||||
File test = new File(control.toString().replace("testapp-orig", "testapp-new"));
|
||||
|
||||
if (test.isFile()) {
|
||||
if (test.isFile() && control.isFile()) {
|
||||
if (control.hashCode() != test.hashCode()) {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user