Skip to content

Commit

Permalink
correct indent test value
Browse files Browse the repository at this point in the history
  • Loading branch information
sv99 committed Jul 24, 2023
1 parent d047673 commit aac062c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ public boolean nextLine() {
return false;
while (true) {
mCurrent++;
// skip comments
if (isCommentOrEmpty())
continue;
return !isEnd();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ public void testSkipIncorrectIndent() throws AndrolibException {
ApkInfo apkInfo = ApkInfo.load(
this.getClass().getResourceAsStream("/apk/skip_incorrect_indent.yml"));
checkStandard(apkInfo);
assertNotEquals("2.8.1", apkInfo.version);
assertNotEquals("2.0.0", apkInfo.version);
}

@Test
public void testFirstIncorrectIndent() throws AndrolibException {
ApkInfo apkInfo = ApkInfo.load(
this.getClass().getResourceAsStream("/apk/first_incorrect_indent.yml"));
checkStandard(apkInfo);
assertNotEquals("2.8.1", apkInfo.version);
assertNotEquals("2.0.0", apkInfo.version);
}

@Test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
!!brut.androlib.meta.MetaInfo
version: 2.8.1
version: 2.0.0
apkFileName: standard.apk
compressionType: false
doNotCompress:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
!!brut.androlib.meta.MetaInfo
apkFileName: standard.apk
version: 2.8.1
version: 2.0.0
compressionType: false
doNotCompress:
- resources.arsc
Expand Down

0 comments on commit aac062c

Please sign in to comment.