Skip to content

Commit

Permalink
Merge pull request scottyab#121 from scottyab/feature/extra-test-chec…
Browse files Browse the repository at this point in the history
…k-trailing-slash

Added test for trailing slash on packages
  • Loading branch information
stealthcopter committed Feb 3, 2020
2 parents 6d58c00 + 94b0ddd commit 87f3019
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,13 @@ public void testDetectRootCloakingApps() throws Exception {

// Should be true as package detected
assertTrue(rootBeer.detectRootCloakingApps());
}

@Test
public void testAllSuPathsEndWithSlash(){
for (String path : Const.getPaths()){
assertTrue(path.endsWith("/"));
}
}

}

0 comments on commit 87f3019

Please sign in to comment.