Skip to content

Commit

Permalink
Merge pull request #1753 from kluever/patch-3
Browse files Browse the repository at this point in the history
Fix unused object creation in WithParameterSupplier
  • Loading branch information
kcooney authored Dec 10, 2022
2 parents 2a46ff3 + 5652a86 commit b6d496a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public void theory(@ParametersSuppliedBy(SupplierWithTestClassConstructor.class)

@Test
public void shouldAcceptSuppliersWithTestClassConstructor() throws Exception {
new Theories(TestClassUsingSupplierWithTestClassConstructor.class);
Theories unused = new Theories(TestClassUsingSupplierWithTestClassConstructor.class);
}

}

0 comments on commit b6d496a

Please sign in to comment.