Skip to content

Commit 99a8145

Browse files
Potential fix for pull request finding 'Unread local variable'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent 78aff88 commit 99a8145

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/test/java/com/github/copilot/sdk/GeneratedEventTypesCoverageTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,6 @@ void testSessionContextChangedHostTypeEnumFromValue() {
724724

725725
@Test
726726
void testSessionMcpServersLoadedStatusEnumFromValue() {
727-
var s = SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem.SessionMcpServersLoadedEventDataServersItemStatus.class;
728727
assertThrows(IllegalArgumentException.class,
729728
() -> SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem.SessionMcpServersLoadedEventDataServersItemStatus
730729
.fromValue("unknown"));

0 commit comments

Comments
 (0)