Skip to content

Commit a6025fd

Browse files
committed
Repair tests
1 parent 18c286c commit a6025fd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

test/js/ruby/nodes/lambda.test.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff 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
});

0 commit comments

Comments
 (0)