diff --git a/src/test/java/spoon/test/exceptions/ExceptionTest.java b/src/test/java/spoon/test/exceptions/ExceptionTest.java index 4406f7fa7b1..ec1fa824ce4 100644 --- a/src/test/java/spoon/test/exceptions/ExceptionTest.java +++ b/src/test/java/spoon/test/exceptions/ExceptionTest.java @@ -123,10 +123,6 @@ public void testUnionCatchExceptionInsideLambdaInNoClasspath() { CtCatchVariable variable2 = catches.get(1).getParameter(); // outside the lambda assertEquals(variable1.getMultiTypes(), variable2.getMultiTypes()); - - // for now the type of CtCatchVariable is not the same - // this should be fix in the future (see: https://github.com/INRIA/spoon/issues/1420) - //assertEquals(variable2, variable1); + assertEquals(variable2, variable1); } - } diff --git a/src/test/java/spoon/test/generics/GenericsTest.java b/src/test/java/spoon/test/generics/GenericsTest.java index 9cde8b715d9..0b5a5d6ab1a 100644 --- a/src/test/java/spoon/test/generics/GenericsTest.java +++ b/src/test/java/spoon/test/generics/GenericsTest.java @@ -659,7 +659,6 @@ public void testGenericTypeReference() throws Exception { CtType aTacos = buildNoClasspath(Tacos.class).Type().get(Tacos.class); //this returns a type reference with uninitialized actual type arguments. -// CtTypeReference genericTypeRef = aTacos.getReference(); CtTypeReference genericTypeRef = aTacos.getFactory().Type().createReference(aTacos, true); assertTrue(genericTypeRef.getActualTypeArguments().size()>0); @@ -667,7 +666,7 @@ public void testGenericTypeReference() throws Exception { for(int i=0; i