Skip to content

Commit

Permalink
refactor: change assertion from assertSame to assertEquals (#2687)
Browse files Browse the repository at this point in the history
  • Loading branch information
zielint0 authored and pvojtechovsky committed Oct 18, 2018
1 parent 93cedbc commit bc3c4a8
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import java.util.Collection;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertSame;

public class ImportAndExtendWithPackageNameTest {

Expand All @@ -39,7 +38,7 @@ public void testBuildModel() {
runLaunch.buildModel();

final Collection<CtType<?>> types = runLaunch.getModel().getAllTypes();
assertSame(1, types.size());
assertEquals(1, types.size());

final CtType type = types.iterator().next();
assertEquals("ImportAndExtendWithPackageName", type.getSimpleName());
Expand Down

0 comments on commit bc3c4a8

Please sign in to comment.