Skip to content

Commit 87277f4

Browse files
committed
update docs
1 parent 7762aa3 commit 87277f4

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

README.md

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Classpath Replacer can help you simulate this scenario in your unit tests.
3434
Gradle:
3535

3636
```groovy
37-
testImplementation 'com.freemanan:classpath-replacer-junit5:1.2.0'
37+
testImplementation 'com.freemanan:classpath-replacer-junit5:2.0.0'
3838
```
3939

4040
Maven:
@@ -44,7 +44,7 @@ Maven:
4444
<dependency>
4545
<groupId>com.freemanan</groupId>
4646
<artifactId>classpath-replacer-junit5</artifactId>
47-
<version>1.2.0</version>
47+
<version>2.0.0</version>
4848
<scope>test</scope>
4949
</dependency>
5050
```
@@ -151,22 +151,6 @@ class JsonUtilTest {
151151
void useJacksonFirst_whenBothJacksonAndGsonOnClasspath() {
152152
assertTrue(JsonUtil.instance() instanceof Jackson);
153153
}
154-
155-
@Test
156-
@ClasspathReplacer({@Action(verb = ADD, value = "com.google.code.gson:gson:2.8.9")})
157-
void gsonHasBugOn2_8_9_whenEmptyList() {
158-
assertThrows(InaccessibleObjectException.class, () -> {
159-
JsonUtil.toJson(Collections.emptyList());
160-
});
161-
}
162-
163-
@Test
164-
@ClasspathReplacer({@Action(verb = ADD, value = "com.google.code.gson:gson:2.9.0")})
165-
void gsonWorksFineOn2_9_0_whenEmptyList() {
166-
assertDoesNotThrow(() -> {
167-
JsonUtil.toJson(Collections.emptyList());
168-
});
169-
}
170154
}
171155
```
172156

0 commit comments

Comments
 (0)