Fix another buffer leak in XmlFrameDecoderTest
This commit is contained in:
parent
457cd2f6fa
commit
5e69955d23
@ -162,9 +162,13 @@ public class XmlFrameDecoderTest {
|
||||
actual.add(cause.getClass());
|
||||
}
|
||||
|
||||
try {
|
||||
List<Object> expectedList = new ArrayList<Object>();
|
||||
Collections.addAll(expectedList, expected);
|
||||
assertThat(actual, is(expectedList));
|
||||
} finally {
|
||||
ch.finish();
|
||||
}
|
||||
}
|
||||
|
||||
private String sample(String number) throws IOException, URISyntaxException {
|
||||
|
Loading…
Reference in New Issue
Block a user