Issue #300 - fix test expectation after CompressExtension changes

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
Lachlan Roberts 2019-07-04 11:10:24 +10:00
parent 50c18798ba
commit d69bf31494
1 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@
package org.eclipse.jetty.websocket.tests;
import java.net.URI;
import java.nio.channels.ClosedChannelException;
import java.util.concurrent.TimeUnit;
import org.eclipse.jetty.server.Server;
@ -108,7 +109,7 @@ public class WriteAfterStopTest
try (StacklessLogging stacklessLogging = new StacklessLogging(CompressExtension.class))
{
assertThrows(NullPointerException.class,
assertThrows(ClosedChannelException.class,
() -> session.getRemote().sendString("hello world"));
}
}