removed usesless variance in test

This commit is contained in:
NoName11234 2024-02-06 18:39:44 +01:00
parent fa1f3a0507
commit 2871586c71

View File

@ -104,7 +104,6 @@ public class UnifyTest {
private UnifyPair genPairListOfString(String name){
PlaceholderType type1 = new PlaceholderType(name);
type1.setVariance(1);
UnifyType type2 = new ReferenceType("List", new TypeParams(new ReferenceType("String")));
UnifyPair pair1 = new UnifyPair(type2, type1, PairOperator.SMALLERDOT);