Skip to content

Commit cd58b34

Browse files
committed
test: assert failed
1 parent 2566286 commit cd58b34

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

generator/src/test/java/com/reajason/javaweb/memshell/config/GodzillaShellConfigTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import org.junit.jupiter.api.Test;
44

5-
import static org.junit.jupiter.api.Assertions.assertEquals;
5+
import static org.junit.jupiter.api.Assertions.*;
66

77
/**
88
* @author ReaJason
@@ -14,6 +14,7 @@ class GodzillaShellConfigTest {
1414
void test() {
1515
GodzillaConfig shellConfig = GodzillaConfig.builder()
1616
.pass("pass").build();
17-
assertEquals("key", shellConfig.getKey());
17+
assertEquals("pass", shellConfig.getPass());
18+
assertNotEquals("key", shellConfig.getKey());
1819
}
1920
}

0 commit comments

Comments
 (0)