@@ -226,7 +226,7 @@ describe "TextMate Ruby grammar", ->
226
226
expect ( tokens [ 8 ] ) . toEqual value : '\'' , scopes : [ 'source.ruby' , 'string.quoted.single.ruby' , 'punctuation.definition.string.begin.ruby' ]
227
227
expect ( tokens [ 9 ] ) . toEqual value : 'one' , scopes : [ 'source.ruby' , 'string.quoted.single.ruby' ]
228
228
expect ( tokens [ 10 ] ) . toEqual value : '\'' , scopes : [ 'source.ruby' , 'string.quoted.single.ruby' , 'punctuation.definition.string.end.ruby' ]
229
- expect ( tokens [ 11 ] ) . toEqual value : ',' , scopes : [ 'source.ruby' , 'punctuation.separator.object .ruby' ]
229
+ expect ( tokens [ 11 ] ) . toEqual value : ',' , scopes : [ 'source.ruby' , 'punctuation.separator.delimiter .ruby' ]
230
230
expect ( tokens [ 13 ] ) . toEqual value : '2' , scopes : [ 'source.ruby' , 'constant.numeric.ruby' ]
231
231
expect ( tokens [ 15 ] ) . toEqual value : '=>' , scopes : [ 'source.ruby' , 'punctuation.separator.key-value.ruby' ]
232
232
expect ( tokens [ 17 ] ) . toEqual value : '\'' , scopes : [ 'source.ruby' , 'string.quoted.single.ruby' , 'punctuation.definition.string.begin.ruby' ]
@@ -238,7 +238,7 @@ describe "TextMate Ruby grammar", ->
238
238
expect ( tokens [ 0 ] ) . toEqual value : 'method' , scopes : [ 'source.ruby' ]
239
239
expect ( tokens [ 1 ] ) . toEqual value : '(' , scopes : [ 'source.ruby' , 'punctuation.section.function.ruby' ]
240
240
expect ( tokens [ 2 ] ) . toEqual value : 'a' , scopes : [ 'source.ruby' ]
241
- expect ( tokens [ 3 ] ) . toEqual value : ',' , scopes : [ 'source.ruby' , 'punctuation.separator.object .ruby' ]
241
+ expect ( tokens [ 3 ] ) . toEqual value : ',' , scopes : [ 'source.ruby' , 'punctuation.separator.delimiter .ruby' ]
242
242
expect ( tokens [ 4 ] ) . toEqual value : 'b' , scopes : [ 'source.ruby' ]
243
243
expect ( tokens [ 5 ] ) . toEqual value : ')' , scopes : [ 'source.ruby' , 'punctuation.section.function.ruby' ]
244
244
@@ -377,7 +377,7 @@ describe "TextMate Ruby grammar", ->
377
377
expect ( tokens [ 1 ] ) . toEqual value : '/' , scopes : [ 'source.ruby' , 'string.regexp.interpolated.ruby' , 'punctuation.section.regexp.ruby' ]
378
378
expect ( tokens [ 2 ] ) . toEqual value : 'test' , scopes : [ 'source.ruby' , 'string.regexp.interpolated.ruby' ]
379
379
expect ( tokens [ 3 ] ) . toEqual value : '/' , scopes : [ 'source.ruby' , 'string.regexp.interpolated.ruby' , 'punctuation.section.regexp.ruby' ]
380
- expect ( tokens [ 4 ] ) . toEqual value : ',' , scopes : [ 'source.ruby' , 'punctuation.separator.object .ruby' ]
380
+ expect ( tokens [ 4 ] ) . toEqual value : ',' , scopes : [ 'source.ruby' , 'punctuation.separator.delimiter .ruby' ]
381
381
382
382
{ tokens } = grammar . tokenizeLine ( '[/test/]' )
383
383
@@ -831,13 +831,13 @@ describe "TextMate Ruby grammar", ->
831
831
expect ( tokens [ 8 ] ) . toEqual value : '(' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'punctuation.section.function.ruby' ]
832
832
expect ( tokens [ 9 ] ) . toEqual value : '2' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'constant.numeric.ruby' ]
833
833
expect ( tokens [ 10 ] ) . toEqual value : ')' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'punctuation.section.function.ruby' ]
834
- expect ( tokens [ 11 ] ) . toEqual value : ',' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'punctuation.separator.object .ruby' ]
834
+ expect ( tokens [ 11 ] ) . toEqual value : ',' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'punctuation.separator.delimiter .ruby' ]
835
835
expect ( tokens [ 13 ] ) . toEqual value : 'green' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'constant.other.symbol.hashkey.parameter.function.ruby' ]
836
836
expect ( tokens [ 16 ] ) . toEqual value : 'rand' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'support.function.kernel.ruby' ]
837
837
expect ( tokens [ 17 ] ) . toEqual value : '(' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'punctuation.section.function.ruby' ]
838
838
expect ( tokens [ 18 ] ) . toEqual value : '3' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'constant.numeric.ruby' ]
839
839
expect ( tokens [ 19 ] ) . toEqual value : ')' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'punctuation.section.function.ruby' ]
840
- expect ( tokens [ 20 ] ) . toEqual value : ',' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'punctuation.separator.object .ruby' ]
840
+ expect ( tokens [ 20 ] ) . toEqual value : ',' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'punctuation.separator.delimiter .ruby' ]
841
841
expect ( tokens [ 22 ] ) . toEqual value : 'blue' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'constant.other.symbol.hashkey.parameter.function.ruby' ]
842
842
expect ( tokens [ 25 ] ) . toEqual value : 'rand' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'support.function.kernel.ruby' ]
843
843
expect ( tokens [ 26 ] ) . toEqual value : '(' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'punctuation.section.function.ruby' ]
@@ -853,13 +853,13 @@ describe "TextMate Ruby grammar", ->
853
853
expect ( tokens [ 8 ] ) . toEqual value : '(' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'punctuation.section.function.ruby' ]
854
854
expect ( tokens [ 9 ] ) . toEqual value : '2' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'constant.numeric.ruby' ]
855
855
expect ( tokens [ 10 ] ) . toEqual value : ')' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'punctuation.section.function.ruby' ]
856
- expect ( tokens [ 11 ] ) . toEqual value : ',' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'punctuation.separator.object .ruby' ]
856
+ expect ( tokens [ 11 ] ) . toEqual value : ',' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'punctuation.separator.delimiter .ruby' ]
857
857
expect ( tokens [ 13 ] ) . toEqual value : 'green' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'constant.other.symbol.hashkey.parameter.function.ruby' ]
858
858
expect ( tokens [ 16 ] ) . toEqual value : 'rand' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'support.function.kernel.ruby' ]
859
859
expect ( tokens [ 17 ] ) . toEqual value : '(' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'punctuation.section.function.ruby' ]
860
860
expect ( tokens [ 18 ] ) . toEqual value : '3' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'constant.numeric.ruby' ]
861
861
expect ( tokens [ 19 ] ) . toEqual value : ')' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'punctuation.section.function.ruby' ]
862
- expect ( tokens [ 20 ] ) . toEqual value : ',' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'punctuation.separator.object .ruby' ]
862
+ expect ( tokens [ 20 ] ) . toEqual value : ',' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'punctuation.separator.delimiter .ruby' ]
863
863
expect ( tokens [ 22 ] ) . toEqual value : 'blue' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'constant.other.symbol.hashkey.parameter.function.ruby' ]
864
864
expect ( tokens [ 25 ] ) . toEqual value : 'rand' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'support.function.kernel.ruby' ]
865
865
expect ( tokens [ 26 ] ) . toEqual value : '(' , scopes : [ 'source.ruby' , 'meta.function.method.with-arguments.ruby' , 'punctuation.section.function.ruby' ]
@@ -888,11 +888,11 @@ describe "TextMate Ruby grammar", ->
888
888
expect ( tokens [ 10 ] ) . toEqual value : '||' , scopes : [ 'source.ruby' , 'keyword.operator.logical.ruby' ]
889
889
expect ( tokens [ 12 ] ) . toEqual value : 'b' , scopes : [ 'source.ruby' , 'variable.other.block.ruby' ]
890
890
expect ( tokens [ 13 ] ) . toEqual value : ')' , scopes : [ 'source.ruby' , 'punctuation.section.function.ruby' ]
891
- expect ( tokens [ 14 ] ) . toEqual value : ',' , scopes : [ 'source.ruby' , 'punctuation.separator.object .ruby' ]
891
+ expect ( tokens [ 14 ] ) . toEqual value : ',' , scopes : [ 'source.ruby' , 'punctuation.separator.delimiter .ruby' ]
892
892
expect ( tokens [ 16 ] ) . toEqual value : 'hash' , scopes : [ 'source.ruby' , 'variable.other.block.ruby' ]
893
893
expect ( tokens [ 18 ] ) . toEqual value : '=' , scopes : [ 'source.ruby' , 'keyword.operator.assignment.ruby' ]
894
894
expect ( tokens [ 20 ] ) . toEqual value : 'config' , scopes : [ 'source.ruby' , 'variable.other.block.ruby' ]
895
- expect ( tokens [ 21 ] ) . toEqual value : ',' , scopes : [ 'source.ruby' , 'punctuation.separator.object .ruby' ]
895
+ expect ( tokens [ 21 ] ) . toEqual value : ',' , scopes : [ 'source.ruby' , 'punctuation.separator.delimiter .ruby' ]
896
896
expect ( tokens [ 23 ] ) . toEqual value : 'create' , scopes : [ 'source.ruby' , 'constant.other.symbol.hashkey.ruby' ]
897
897
expect ( tokens [ 24 ] ) . toEqual value : ':' , scopes : [ 'source.ruby' , 'constant.other.symbol.hashkey.ruby' , 'punctuation.definition.constant.hashkey.ruby' ]
898
898
expect ( tokens [ 26 ] ) . toEqual value : 'false' , scopes : [ 'source.ruby' , 'constant.language.boolean.ruby' ]
0 commit comments