Skip to content

Commit

Permalink
apply allocation specs changes since marcotc improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
remeh committed Nov 16, 2020
1 parent 215ca14 commit 5b57253
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions spec/integrations/allocation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@

let(:expected_allocations) do
if RUBY_VERSION < '2.4.0'
18
elsif RUBY_VERSION >= '2.4.0' && RUBY_VERSION < '2.5.0'
17
else
elsif RUBY_VERSION >= '2.4.0' && RUBY_VERSION < '2.5.0'
16
else
15
end
end

Expand All @@ -70,11 +70,11 @@

let(:expected_allocations) do
if RUBY_VERSION < '2.4.0'
9
elsif RUBY_VERSION >= '2.4.0' && RUBY_VERSION < '2.5.0'
8
else
elsif RUBY_VERSION >= '2.4.0' && RUBY_VERSION < '2.5.0'
7
else
6
end
end

Expand All @@ -90,9 +90,9 @@
if RUBY_VERSION < '2.4.0'
26
elsif RUBY_VERSION >= '2.4.0' && RUBY_VERSION < '2.5.0'
25
else
24
else
23
end
end

Expand All @@ -112,11 +112,11 @@

let(:expected_allocations) do
if RUBY_VERSION < '2.4.0'
18
elsif RUBY_VERSION >= '2.4.0' && RUBY_VERSION < '2.5.0'
17
else
elsif RUBY_VERSION >= '2.4.0' && RUBY_VERSION < '2.5.0'
16
else
15
end
end

Expand All @@ -139,11 +139,11 @@

let(:expected_allocations) do
if RUBY_VERSION < '2.4.0'
9
elsif RUBY_VERSION >= '2.4.0' && RUBY_VERSION < '2.5.0'
8
else
elsif RUBY_VERSION >= '2.4.0' && RUBY_VERSION < '2.5.0'
7
else
6
end
end

Expand All @@ -159,9 +159,9 @@
if RUBY_VERSION < '2.4.0'
26
elsif RUBY_VERSION >= '2.4.0' && RUBY_VERSION < '2.5.0'
25
else
24
else
23
end
end

Expand All @@ -181,11 +181,11 @@

let(:expected_allocations) do
if RUBY_VERSION < '2.4.0'
20
elsif RUBY_VERSION >= '2.4.0' && RUBY_VERSION < '2.5.0'
19
else
elsif RUBY_VERSION >= '2.4.0' && RUBY_VERSION < '2.5.0'
18
else
17
end
end

Expand All @@ -208,11 +208,11 @@

let(:expected_allocations) do
if RUBY_VERSION < '2.4.0'
11
elsif RUBY_VERSION >= '2.4.0' && RUBY_VERSION < '2.5.0'
10
else
elsif RUBY_VERSION >= '2.4.0' && RUBY_VERSION < '2.5.0'
9
else
8
end
end

Expand All @@ -228,9 +228,9 @@
if RUBY_VERSION < '2.4.0'
28
elsif RUBY_VERSION >= '2.4.0' && RUBY_VERSION < '2.5.0'
27
else
26
else
25
end
end

Expand All @@ -250,11 +250,11 @@

let(:expected_allocations) do
if RUBY_VERSION < '2.4.0'
16
elsif RUBY_VERSION >= '2.4.0' && RUBY_VERSION < '2.5.0'
15
else
elsif RUBY_VERSION >= '2.4.0' && RUBY_VERSION < '2.5.0'
14
else
13
end
end

Expand All @@ -277,11 +277,11 @@

let(:expected_allocations) do
if RUBY_VERSION < '2.4.0'
7
elsif RUBY_VERSION >= '2.4.0' && RUBY_VERSION < '2.5.0'
6
else
elsif RUBY_VERSION >= '2.4.0' && RUBY_VERSION < '2.5.0'
5
else
4
end
end

Expand All @@ -297,9 +297,9 @@
if RUBY_VERSION < '2.4.0'
24
elsif RUBY_VERSION >= '2.4.0' && RUBY_VERSION < '2.5.0'
23
else
22
else
21
end
end

Expand All @@ -310,4 +310,4 @@
end
end
end
end
end

0 comments on commit 5b57253

Please sign in to comment.