mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
unit test fix take 2
This commit is contained in:
@@ -66,8 +66,8 @@ public class FragmentTest {
|
||||
|
||||
try {
|
||||
pre.preprocessQueue(messages, new SenderImpl(), receiver);
|
||||
fail("should have thrown IAE");
|
||||
} catch (IllegalArgumentException expected){}
|
||||
fail("should have thrown UOE");
|
||||
} catch (UnsupportedOperationException expected){}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -89,8 +89,8 @@ public class FragmentTest {
|
||||
|
||||
try {
|
||||
pre.preprocessQueue(messages, new SenderImpl(), receiver);
|
||||
fail("should have thrown IAE");
|
||||
} catch (IllegalArgumentException expected){}
|
||||
fail("should have thrown UOE");
|
||||
} catch (UnsupportedOperationException expected){}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user