mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test_gc.rb: relax criterion
This commit is contained in:
parent
5afb947d72
commit
b1696c87d3
2 changed files with 3 additions and 3 deletions
|
@ -321,7 +321,7 @@ class TestGc < Test::Unit::TestCase
|
|||
base_length = GC.stat[:heap_eden_pages]
|
||||
(base_length * 500).times{ 'a' }
|
||||
GC.start
|
||||
assert_in_epsilon base_length, (v = GC.stat[:heap_eden_pages]), 1/8r,
|
||||
assert_in_epsilon base_length, (v = GC.stat[:heap_eden_pages]), 1/4r,
|
||||
"invalid heap expanding (base_length: #{base_length}, GC.stat[:heap_eden_pages]: #{v})"
|
||||
|
||||
a = []
|
||||
|
|
|
@ -12,11 +12,11 @@
|
|||
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
|
||||
#define RUBY_VERSION_TEENY 3
|
||||
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
|
||||
#define RUBY_PATCHLEVEL 147
|
||||
#define RUBY_PATCHLEVEL 148
|
||||
|
||||
#define RUBY_RELEASE_YEAR 2021
|
||||
#define RUBY_RELEASE_MONTH 10
|
||||
#define RUBY_RELEASE_DAY 30
|
||||
#define RUBY_RELEASE_DAY 31
|
||||
|
||||
#include "ruby/version.h"
|
||||
|
||||
|
|
Loading…
Reference in a new issue