Skip to content

Commit 3326cdf

Browse files
committed
for checkstyle.
1 parent affb57f commit 3326cdf

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

client/src/test/java/com/alibaba/nacos/client/auth/ram/utils/RamUtilTest.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525

2626
import java.util.Properties;
2727

28-
import static org.junit.Assert.*;
28+
import static org.junit.Assert.assertEquals;
29+
import static org.junit.Assert.assertNull;
2930

3031
public class RamUtilTest {
3132

@@ -47,19 +48,19 @@ public void tearDown() throws Exception {
4748
}
4849

4950
@Test
50-
public void testGetAccessKeyWithUserAKSK() {
51+
public void testGetAccessKeyWithUserAkSk() {
5152
assertEquals("userAk", RamUtil.getAccessKey(properties));
5253
assertEquals("userSk", RamUtil.getSecretKey(properties));
5354
}
5455

5556
@Test
56-
public void testGetAccessKeyWithSpasAKSK() {
57+
public void testGetAccessKeyWithSpasAkSk() {
5758
assertEquals("spasAk", RamUtil.getAccessKey(new Properties()));
5859
assertEquals("spasSk", RamUtil.getSecretKey(new Properties()));
5960
}
6061

6162
@Test
62-
public void testGetAccessKeyWithoutSpasAKSK() {
63+
public void testGetAccessKeyWithoutSpasAkSk() {
6364
Properties properties1 = new Properties();
6465
properties1.setProperty(PropertyKeyConst.IS_USE_RAM_INFO_PARSING, "false");
6566
assertNull(RamUtil.getAccessKey(properties1));

0 commit comments

Comments
 (0)