File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -36,9 +36,9 @@ describe("lambda", () => {
3636 return expect ( `command :foo, -> { ${ long } }` ) . toChangeFormat (
3737 ruby ( `
3838 command :foo,
39- -> {
39+ -> do
4040 ${ long }
41- }
41+ end
4242 ` )
4343 ) ;
4444 } ) ;
@@ -51,9 +51,9 @@ describe("lambda", () => {
5151 return expect ( `command.call :foo, -> { ${ long } }` ) . toChangeFormat (
5252 ruby ( `
5353 command.call :foo,
54- -> {
54+ -> do
5555 ${ long }
56- }
56+ end
5757 ` )
5858 ) ;
5959 } ) ;
@@ -62,9 +62,9 @@ describe("lambda", () => {
6262 return expect ( `command :foo, bar: -> { ${ long } }` ) . toChangeFormat (
6363 ruby ( `
6464 command :foo,
65- bar: -> {
65+ bar: -> do
6666 ${ long }
67- }
67+ end
6868 ` )
6969 ) ;
7070 } ) ;
@@ -79,9 +79,9 @@ describe("lambda", () => {
7979 ${ long } ,
8080 a${ long } ,
8181 aa${ long }
82- ) {
82+ ) do
8383 true
84- }
84+ end
8585 ` )
8686 ) ;
8787 } ) ;
You can’t perform that action at this time.
0 commit comments