Skip to content

Commit

Permalink
Added test for trailing slash on packages
Browse files Browse the repository at this point in the history
  • Loading branch information
mat committed Jan 30, 2020
1 parent 53b32c3 commit 94b0ddd
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 94b0ddd

Please sign in to comment.