Skip to content

Commit b6d496a

Browse files
authored
Merge pull request #1753 from kluever/patch-3
Fix unused object creation in WithParameterSupplier
2 parents 2a46ff3 + 5652a86 commit b6d496a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/junit/tests/experimental/theories/runner/WithParameterSupplier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public void theory(@ParametersSuppliedBy(SupplierWithTestClassConstructor.class)
159159

160160
@Test
161161
public void shouldAcceptSuppliersWithTestClassConstructor() throws Exception {
162-
new Theories(TestClassUsingSupplierWithTestClassConstructor.class);
162+
Theories unused = new Theories(TestClassUsingSupplierWithTestClassConstructor.class);
163163
}
164164

165165
}

0 commit comments

Comments
 (0)