File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
muzzle/src/test/java/io/opentelemetry/javaagent/tooling/muzzle Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -84,9 +84,7 @@ void shouldWrapHelperTypes() {
8484 assertThat (method .getDescriptor ()).isEqualTo ("()V" );
8585 }, atIndex (0 ));
8686
87- List <HelperReferenceWrapper .Field > helperFields =
88- helperWrapper .getFields ().collect (Collectors .toList ());
89- assertThat (helperFields )
87+ assertThat (helperWrapper .getFields ())
9088 .hasSize (1 )
9189 .satisfies (field -> {
9290 assertThat (field .getName ()).isEqualTo ("declaredField" );
@@ -101,9 +99,7 @@ void shouldWrapHelperTypes() {
10199 // baseHelper assertions
102100 HelperReferenceWrapper baseHelper = superTypes .get (0 );
103101 assertThat (baseHelper .isAbstract ()).isTrue ();
104- List <HelperReferenceWrapper .Method > baseHelperMethods =
105- baseHelper .getMethods ().collect (Collectors .toList ());
106- assertThat (baseHelperMethods )
102+ assertThat (baseHelper .getMethods ().collect (Collectors .toList ()))
107103 .hasSize (2 )
108104 .satisfies (method -> {
109105 assertThat (method .isAbstract ()).isFalse ();
You can’t perform that action at this time.
0 commit comments