Skip to content

Commit 5a83457

Browse files
committed
2 parents 41bdae2 + 902f69e commit 5a83457

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Capturing Human Intelligence - ApprovalTests is an open source assertion/verific
2424

2525
It is compatible with JUnit 3, 4 & 5 and TestNG.
2626

27-
The jars can be used from JDK 1.7 on up until JDK 14.
27+
The jars can be used from JDK 1.8 on up until JDK 18.
2828

2929
## What can it be used for?
3030

@@ -62,15 +62,15 @@ If you're using Maven, add this to your pom file:
6262
<dependency>
6363
<groupId>com.approvaltests</groupId>
6464
<artifactId>approvaltests</artifactId>
65-
<version>12.1.1</version>
65+
<version>12.1.3</version>
6666
</dependency>
6767
```
6868

6969
### Gradle
7070

7171
```gradle
7272
dependencies {
73-
testImplementation("com.approvaltests:approvaltests:12.1.1")
73+
testImplementation("com.approvaltests:approvaltests:12.1.3")
7474
}
7575
```
7676

approvaltests-util-tests/src/test/java/com/spun/util/DateUtilsTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ public class DateUtilsTest
2323
@Test
2424
public void testToDate()
2525
{
26-
try(WithTimeZone i = new WithTimeZone()) {
26+
try (WithTimeZone i = new WithTimeZone())
27+
{
2728
LocalDateTime time = LocalDateTime.of(2000, Month.JANUARY, 2, 3, 4, 5);
2829
assertEquals("2 Jan 2000 03:04:05 GMT", DateUtils.toDateInUTC(time).toGMTString());
2930
assertEquals("2 Jan 2000 02:04:05 GMT", DateUtils.toDate(time, ZoneOffset.ofHours(1)).toGMTString());

0 commit comments

Comments
 (0)