@@ -66,8 +66,8 @@ class DateTimeScalarTest extends Specification {
66
66
mkLocalDT(year : 1980 , hour : 3 ) | CoercingParseValueException // LocalDateTime has no time zone
67
67
666 | CoercingParseValueException // A random number
68
68
" 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
71
71
" 2010-02-11T21:22:53.108Z+25:11" | CoercingParseValueException // 25 is not a valid hour for offset
72
72
}
73
73
@@ -111,8 +111,8 @@ class DateTimeScalarTest extends Specification {
111
111
mkLocalDT(year : 1980 , hour : 3 ) | CoercingSerializeException // LocalDateTime has no time zone
112
112
666 | CoercingSerializeException // A random number
113
113
" 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
116
116
" 2010-02-11T21:22:53.108Z+25:11" | CoercingSerializeException // 25 is not a valid hour for offset
117
117
}
118
118
@@ -131,8 +131,8 @@ class DateTimeScalarTest extends Specification {
131
131
mkLocalDT(year : 1980 , hour : 3 ) | CoercingParseLiteralException // LocalDateTime has no time zone
132
132
666 | CoercingParseLiteralException // A random number
133
133
" 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
136
136
" 2010-02-11T21:22:53.108Z+25:11" | CoercingParseLiteralException // 25 is not a valid hour for offset
137
137
}
138
138
0 commit comments