Skip to content

Commit ba00ddc

Browse files
committed
Improvements to README file
1 parent 39db685 commit ba00ddc

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ import org.mockito.Mock;
4646
import org.mockito.runners.MockitoJUnitRunner;
4747

4848
import java.util.Arrays;
49-
import java.util.HashMap;
5049
import java.util.List;
5150

5251
import static io.github.jsonSnapshot.SnapshotMatcher.*;
@@ -79,7 +78,8 @@ public class ExampleTest {
7978
fakeObject.fakeMethod("test1", 1L, Arrays.asList("listTest1"));
8079
fakeObject.fakeMethod("test2", 2L, Arrays.asList("listTest1", "listTest2"));
8180

82-
expect(extractArgs(fakeObject, "fakeMethod", String.class, Long.class, List.class)).toMatchSnapshot();
81+
expect(extractArgs(fakeObject, "fakeMethod", String.class, Long.class, List.class))
82+
.toMatchSnapshot();
8383
}
8484

8585
class FakeObject {

src/test/java/io/github/jsonSnapshot/SnapshotUtilsTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ public void shouldExtractArgsFromMethod() {
3939
fakeObject.fakeMethod("test2", 2L, Arrays.asList("listTest1", "listTest2"));
4040

4141
HashMap<?, ?> fakeMethodArgs = SnapshotUtils.extractArgs(fakeObject, "fakeMethod", String.class, Long.class, List.class);
42-
expect(fakeMethodArgs).toMatchSnapshot();
42+
expect(fakeMethodArgs)
43+
.toMatchSnapshot();
4344

4445
}
4546

0 commit comments

Comments
 (0)