about summary refs log tree commit homepage
path: root/test/test_raindrops.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_raindrops.rb')
-rw-r--r--test/test_raindrops.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_raindrops.rb b/test/test_raindrops.rb
index 66fc208..93885ef 100644
--- a/test/test_raindrops.rb
+++ b/test/test_raindrops.rb
@@ -80,7 +80,7 @@ class TestRaindrops < Test::Unit::TestCase
   end
 
   def test_big
-    expect = 256.times.map { 0 }
+    expect = (1..256).map { 0 }
     rd = Raindrops.new(256)
     assert_equal expect, rd.to_ary
     assert_nothing_raised { rd[255] = 5 }