Skip to content

Commit 72bc426

Browse files
committed
testing: fix import
1 parent 7e75cf3 commit 72bc426

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/test/java/com/thealgorithms/datastructures/stacks/NodeStackTest.java

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

33
import static org.junit.jupiter.api.Assertions.assertEquals;
44
import static org.junit.jupiter.api.Assertions.assertFalse;
5-
import static org.junit.jupiter.api.Assertions.assertNull;
65
import static org.junit.jupiter.api.Assertions.assertThrows;
76
import static org.junit.jupiter.api.Assertions.assertTrue;
87

@@ -98,9 +97,9 @@ void testPushPopWithNull() {
9897
stringStack.push(null);
9998

10099
assertEquals(3, stringStack.size(), "Stack should contain 3 elements including nulls");
101-
assertNull(stringStack.pop(), "Should pop null value");
100+
org.junit.jupiter.api.Assertions.assertNull(stringStack.pop(), "Should pop null value");
102101
assertEquals("not null", stringStack.pop(), "Should pop 'not null' value");
103-
assertNull(stringStack.pop(), "Should pop null value");
102+
org.junit.jupiter.api.Assertions.assertNull(stringStack.pop(), "Should pop null value");
104103
assertTrue(stringStack.isEmpty(), "Stack should be empty after popping all elements");
105104
}
106105

0 commit comments

Comments
 (0)