Skip to content

Commit fc8bff9

Browse files
committed
Fix failing test in GlobalNextPrevSearchEntryHandlerTest
1 parent b6e3786 commit fc8bff9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/org.eclipse.search.tests/src/org/eclipse/search/tests/GlobalNextPrevSearchEntryHandlerTest.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ public void setUp() {
4040
*/
4141
@Test
4242
public void testHandlerInstantiation() {
43-
// Verify handler can be created
44-
assertNull(handler);
45-
handler = new GlobalNextPrevSearchEntryHandler();
43+
// Verify handler was created successfully in setUp()
44+
assertNotNull(handler, "Handler should be created successfully");
45+
46+
// Verify handler is properly instantiated
4647
// If we get here, instantiation was successful
4748
}
4849

0 commit comments

Comments
 (0)