File tree Expand file tree Collapse file tree 2 files changed +1
-46
lines changed Expand file tree Collapse file tree 2 files changed +1
-46
lines changed Original file line number Diff line number Diff line change @@ -473,7 +473,7 @@ describe('Execute: Handles basic execution tasks', () => {
473
473
...Frag
474
474
}
475
475
476
- fragment Frag on DataType {
476
+ fragment Frag on Type {
477
477
a,
478
478
...Frag
479
479
}
Original file line number Diff line number Diff line change @@ -184,51 +184,6 @@ describe('Lexer', () => {
184
184
185
185
it ( 'lexes numbers' , ( ) => {
186
186
187
- expect (
188
- lexOne ( '"simple"' )
189
- ) . to . deep . equal ( {
190
- kind : TokenKind . STRING ,
191
- start : 0 ,
192
- end : 8 ,
193
- value : 'simple'
194
- } ) ;
195
-
196
- expect (
197
- lexOne ( '" white space "' )
198
- ) . to . deep . equal ( {
199
- kind : TokenKind . STRING ,
200
- start : 0 ,
201
- end : 15 ,
202
- value : ' white space '
203
- } ) ;
204
-
205
- expect (
206
- lexOne ( '"escaped \\n\\r\\b\\t\\f"' )
207
- ) . to . deep . equal ( {
208
- kind : TokenKind . STRING ,
209
- start : 0 ,
210
- end : 20 ,
211
- value : 'escaped \n\r\b\t\f'
212
- } ) ;
213
-
214
- expect (
215
- lexOne ( '"slashes \\\\ \\/"' )
216
- ) . to . deep . equal ( {
217
- kind : TokenKind . STRING ,
218
- start : 0 ,
219
- end : 15 ,
220
- value : 'slashes \\ \/'
221
- } ) ;
222
-
223
- expect (
224
- lexOne ( '"unicode \\u1234\\u5678\\u90AB\\uCDEF"' )
225
- ) . to . deep . equal ( {
226
- kind : TokenKind . STRING ,
227
- start : 0 ,
228
- end : 34 ,
229
- value : 'unicode \u1234\u5678\u90AB\uCDEF'
230
- } ) ;
231
-
232
187
expect (
233
188
lexOne ( '4' )
234
189
) . to . deep . equal ( {
You can’t perform that action at this time.
0 commit comments