Skip to content

Commit 7c2c1d3

Browse files
committed
Tidy up
1 parent d5f88f4 commit 7c2c1d3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/test/groovy/graphql/scalars/datetime/DateTimeScalarTest.groovy

+6-6
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ class DateTimeScalarTest extends Specification {
6666
mkLocalDT(year: 1980, hour: 3) | CoercingParseValueException // LocalDateTime has no time zone
6767
666 | CoercingParseValueException // A random number
6868
"2011-08-30T13:22:53.108" | CoercingParseValueException // No offset provided
69-
"2011-08-30T24:22:53.108Z" | CoercingParseValueException // 24 is not allowed as hour of the time. |
70-
"2010-02-30T21:22:53.108Z" | CoercingParseValueException // 30th of February is not a valid date |
69+
"2011-08-30T24:22:53.108Z" | CoercingParseValueException // 24 is not allowed as hour of the time
70+
"2010-02-30T21:22:53.108Z" | CoercingParseValueException // 30th of February is not a valid date
7171
"2010-02-11T21:22:53.108Z+25:11" | CoercingParseValueException // 25 is not a valid hour for offset
7272
}
7373

@@ -111,8 +111,8 @@ class DateTimeScalarTest extends Specification {
111111
mkLocalDT(year: 1980, hour: 3) | CoercingSerializeException // LocalDateTime has no time zone
112112
666 | CoercingSerializeException // A random number
113113
"2011-08-30T13:22:53.108" | CoercingSerializeException // No offset provided
114-
"2011-08-30T24:22:53.108Z" | CoercingSerializeException // 24 is not allowed as hour of the time. |
115-
"2010-02-30T21:22:53.108Z" | CoercingSerializeException // 30th of February is not a valid date |
114+
"2011-08-30T24:22:53.108Z" | CoercingSerializeException // 24 is not allowed as hour of the time
115+
"2010-02-30T21:22:53.108Z" | CoercingSerializeException // 30th of February is not a valid date
116116
"2010-02-11T21:22:53.108Z+25:11" | CoercingSerializeException // 25 is not a valid hour for offset
117117
}
118118

@@ -131,8 +131,8 @@ class DateTimeScalarTest extends Specification {
131131
mkLocalDT(year: 1980, hour: 3) | CoercingParseLiteralException // LocalDateTime has no time zone
132132
666 | CoercingParseLiteralException // A random number
133133
"2011-08-30T13:22:53.108" | CoercingParseLiteralException // No offset provided
134-
"2011-08-30T24:22:53.108Z" | CoercingParseLiteralException // 24 is not allowed as hour of the time. |
135-
"2010-02-30T21:22:53.108Z" | CoercingParseLiteralException // 30th of February is not a valid date |
134+
"2011-08-30T24:22:53.108Z" | CoercingParseLiteralException // 24 is not allowed as hour of the time
135+
"2010-02-30T21:22:53.108Z" | CoercingParseLiteralException // 30th of February is not a valid date
136136
"2010-02-11T21:22:53.108Z+25:11" | CoercingParseLiteralException // 25 is not a valid hour for offset
137137
}
138138

0 commit comments

Comments
 (0)