Skip to content

Commit

Permalink
Fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
reese authored Feb 7, 2024
1 parent 05e2a81 commit 378a1a3
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
14 changes: 14 additions & 0 deletions fixtures/small/binary_operators_actual.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,17 @@ def bees!
# Maybe there should be the same amount of bees
equal_amount_of_bees?
end

MyClass.calculate_stuff / 2
MyClass
.calculate_stuff / 2
{1 => "", 2 => ""}.keys.sum / 5
{1 => "",
2 => ""}.keys.sum / 5

Foo.new(
a: Calculator.calculate_stuff
.map { _1.do_things! }
.sum +
1000.to_f
)
19 changes: 19 additions & 0 deletions fixtures/small/binary_operators_expected.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,22 @@ def bees!
# Maybe there should be the same amount of bees
equal_amount_of_bees?
end

MyClass.calculate_stuff / 2
MyClass
.calculate_stuff /
2
{1 => "", 2 => ""}.keys.sum / 5
{
1 => "",
2 => ""
}.keys.sum /
5

Foo.new(
a: Calculator
.calculate_stuff
.map { _1.do_things! }
.sum +
1000.to_f
)

0 comments on commit 378a1a3

Please sign in to comment.