From 6df405129098d55f9f7e58fc28a7d2ede6e88ea8 Mon Sep 17 00:00:00 2001 From: Michael Davenport Date: Wed, 6 Nov 2024 17:02:59 -0700 Subject: [PATCH] update tests --- .../resources/phases/phase6/passoff/server/WebSocketTests.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/resources/phases/phase6/passoff/server/WebSocketTests.java b/src/main/resources/phases/phase6/passoff/server/WebSocketTests.java index 89f58e30..98774253 100644 --- a/src/main/resources/phases/phase6/passoff/server/WebSocketTests.java +++ b/src/main/resources/phases/phase6/passoff/server/WebSocketTests.java @@ -381,9 +381,8 @@ private void assertMessages(String username, ServerMessage.ServerMessageType[] e } } } catch(AssertionError e) { - e.printStackTrace(); Assertions.fail("Expected message types matching %s for %s, got %s" - .formatted(Arrays.toString(expectedTypes), username, messages.reversed())); + .formatted(Arrays.toString(expectedTypes), username, messages.reversed()), e); } }