File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
main/java/com/examplehub/basics/collection
test/java/com/examplehub/basics/collection Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 11package com .examplehub .basics .collection ;
22
3- public class CollectionExample {
4- }
3+ public class CollectionExample {}
Original file line number Diff line number Diff line change 11package com .examplehub .basics .collection ;
22
3- import org .junit .jupiter .api .Test ;
3+ import static org .junit .jupiter .api .Assertions .* ;
44
55import java .util .ArrayList ;
66import java .util .Arrays ;
77import java .util .Collection ;
88import java .util .Iterator ;
9-
10- import static org .junit .jupiter .api .Assertions .*;
9+ import org .junit .jupiter .api .Test ;
1110
1211class CollectionExampleTest {
1312
@@ -134,7 +133,6 @@ void testRemoveUsingIterator() {
134133 assertEquals ("[]" , collection .toString ());
135134 }
136135
137-
138136 @ Test
139137 void testForEach () {
140138 Collection <String > collection = new ArrayList <>();
@@ -148,4 +146,4 @@ void testForEach() {
148146 assertEquals (count ++ + "" , item );
149147 }
150148 }
151- }
149+ }
You can’t perform that action at this time.
0 commit comments