disabling an assert that was causing failed test.
Per Jesse, this assertion is too difficult to support reliably.
This commit is contained in:
parent
37dc0f8d3e
commit
ce3520f5b5
|
@ -64,7 +64,8 @@ public final class TypeTokenTest extends TestCase {
|
|||
// listOfString = listOfUnknown // doesn't compile; must be false
|
||||
assertFalse(TypeToken.get(a).isAssignableFrom(b));
|
||||
listOfUnknown = listOfString; // compiles; must be true
|
||||
assertTrue(TypeToken.get(b).isAssignableFrom(a));
|
||||
// The following assertion is too difficult to support reliably, so disabling
|
||||
// assertTrue(TypeToken.get(b).isAssignableFrom(a));
|
||||
}
|
||||
|
||||
public void testIsAssignableFromWithNestedWildcards() throws Exception {
|
||||
|
|
Loading…
Reference in New Issue
Block a user