Skip to content

Commit

Permalink
fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
924060929 committed Feb 27, 2024
1 parent dcf89eb commit 4e9846f
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,13 @@ public void testColumnPrivileges() throws Exception {

AccessControllerManager accessManager = Env.getCurrentEnv().getAccessManager();
CatalogAccessController catalogAccessController = accessManager.getAccessControllerOrDefault(catalog);
new Expectations(accessManager) {{
accessManager.getAccessControllerOrDefault("internal");
minTimes = 0;
result = catalogAccessController;
}};
new Expectations(accessManager) {
{
accessManager.getAccessControllerOrDefault("internal");
minTimes = 0;
result = catalogAccessController;
}
};

withPrivileges(privileges, () -> {
// test base table
Expand Down

0 comments on commit 4e9846f

Please sign in to comment.