mirror of
https://github.com/revanced/smali.git
synced 2025-05-13 12:47:07 +02:00
"occured" -> "occurred" in SmaliTestUtils
This commit is contained in:
parent
5c5e4ae279
commit
0a8839663b
@ -72,7 +72,7 @@ public class SmaliTestUtils {
|
|||||||
smaliParser.smali_file_return result = parser.smali_file();
|
smaliParser.smali_file_return result = parser.smali_file();
|
||||||
|
|
||||||
if(parser.getNumberOfSyntaxErrors() > 0 || lexer.getNumberOfSyntaxErrors() > 0) {
|
if(parser.getNumberOfSyntaxErrors() > 0 || lexer.getNumberOfSyntaxErrors() > 0) {
|
||||||
throw new RuntimeException("Error occured while compiling text");
|
throw new RuntimeException("Error occurred while compiling text");
|
||||||
}
|
}
|
||||||
|
|
||||||
CommonTree t = result.getTree();
|
CommonTree t = result.getTree();
|
||||||
@ -87,7 +87,7 @@ public class SmaliTestUtils {
|
|||||||
dexGen.smali_file();
|
dexGen.smali_file();
|
||||||
|
|
||||||
if (dexGen.getNumberOfSyntaxErrors() > 0) {
|
if (dexGen.getNumberOfSyntaxErrors() > 0) {
|
||||||
throw new RuntimeException("Error occured while compiling text");
|
throw new RuntimeException("Error occurred while compiling text");
|
||||||
}
|
}
|
||||||
|
|
||||||
MemoryDataStore dataStore = new MemoryDataStore();
|
MemoryDataStore dataStore = new MemoryDataStore();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user