diff options
Diffstat (limited to 'test/-ext-')
-rw-r--r-- | test/-ext-/string/test_capacity.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/-ext-/string/test_capacity.rb b/test/-ext-/string/test_capacity.rb index 6ef5a8c4da..65444123a7 100644 --- a/test/-ext-/string/test_capacity.rb +++ b/test/-ext-/string/test_capacity.rb @@ -8,7 +8,7 @@ class Test_StringCapacity < Test::Unit::TestCase Bug::String.capacity(str) end - def test_capacity_embeded + def test_capacity_embedded size = RbConfig::SIZEOF['void*'] * 3 - 1 assert_equal size, capa('foo') end |