Skip to content

Commit

Permalink
fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
shalk committed May 17, 2024
1 parent e6b412b commit cf6a011
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ void testAddListenerWithoutTenant() throws NacosException {
public void receiveConfigInfo(String configInfo) {
}
};

clientWorker.addListeners(dataId, group, Collections.singletonList(listener));
List<Listener> listeners = clientWorker.getCache(dataId, group).getListeners();
assertEquals(1, listeners.size());
Expand Down Expand Up @@ -182,7 +182,7 @@ public void receiveConfigInfo(String configInfo) {

String dataId = "a";
String group = "b";

clientWorker.addTenantListeners(dataId, group, Collections.singletonList(listener));
List<Listener> listeners = clientWorker.getCache(dataId, group).getListeners();
assertEquals(1, listeners.size());
Expand Down

0 comments on commit cf6a011

Please sign in to comment.