File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/groovy/graphql/scalars/datetime Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ class DateTimeScalarTest extends AbstractScalarTest {
69
69
" 2011-08-30T13:22:53.108" | CoercingParseValueException // No offset provided
70
70
" 2011-08-30T24:22:53.108Z" | CoercingParseValueException // 24 is not allowed as hour of the time
71
71
" 2010-02-30T21:22:53.108Z" | CoercingParseValueException // 30th of February is not a valid date
72
- " 2010-02-11T21:22:53.108Z +25:11" | CoercingParseValueException // 25 is not a valid hour for offset
72
+ " 2010-02-11T21:22:53.108 +25:11" | CoercingParseValueException // 25 is not a valid hour for offset
73
73
}
74
74
75
75
def " datetime AST literal" () {
@@ -114,7 +114,7 @@ class DateTimeScalarTest extends AbstractScalarTest {
114
114
" 2011-08-30T13:22:53.108" | CoercingSerializeException // No offset provided
115
115
" 2011-08-30T24:22:53.108Z" | CoercingSerializeException // 24 is not allowed as hour of the time
116
116
" 2010-02-30T21:22:53.108Z" | CoercingSerializeException // 30th of February is not a valid date
117
- " 2010-02-11T21:22:53.108Z +25:11" | CoercingSerializeException // 25 is not a valid hour for offset
117
+ " 2010-02-11T21:22:53.108 +25:11" | CoercingSerializeException // 25 is not a valid hour for offset
118
118
}
119
119
120
120
@Unroll
@@ -133,7 +133,7 @@ class DateTimeScalarTest extends AbstractScalarTest {
133
133
mkStringValue(" 2011-08-30T13:22:53.108" ) | CoercingParseLiteralException // No offset provided
134
134
mkStringValue(" 2011-08-30T24:22:53.108Z" ) | CoercingParseLiteralException // 24 is not allowed as hour of the time
135
135
mkStringValue(" 2010-02-30T21:22:53.108Z" ) | CoercingParseLiteralException // 30th of February is not a valid date
136
- mkStringValue(" 2010-02-11T21:22:53.108Z +25:11" ) | CoercingParseLiteralException // 25 is not a valid hour for offset
136
+ mkStringValue(" 2010-02-11T21:22:53.108 +25:11" ) | CoercingParseLiteralException // 25 is not a valid hour for offset
137
137
}
138
138
139
139
}
You can’t perform that action at this time.
0 commit comments