Skip to content

Commit 09b723f

Browse files
committed
Formatting fixes for allowBackup tests
1 parent c69a2be commit 09b723f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

java/ql/test/query-tests/security/CWE-312/android/backup/AllowBackupEnabledTest.ql

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ class AllowBackupEnabledTest extends InlineExpectationsTest {
99

1010
override predicate hasActualResult(Location location, string element, string tag, string value) {
1111
tag = "hasAllowedBackupEnabled" and
12-
exists(AndroidApplicationXmlElement androidAppElem |
13-
androidAppElem.allowsBackup()
14-
|
12+
exists(AndroidApplicationXmlElement androidAppElem | androidAppElem.allowsBackup() |
1513
androidAppElem.getAttribute("allowBackup").getLocation() = location and
1614
element = androidAppElem.getAttribute("debuggable").toString() and
1715
value = ""

0 commit comments

Comments
 (0)