diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-01-23 12:29:50 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-01-23 13:07:29 +0900 |
| commit | 5abb2ef1532e52f3e5fb63ea25e90a72c8e7d581 (patch) | |
| tree | 6488449b633a28d03de4c7c9333f11af6522a1db /spec/ruby/core/array/fill_spec.rb | |
| parent | d8751c0aa7dae6180cee849c0750f58515c13cbe (diff) | |
blade is hosted under ruby-lang.org now
Diffstat (limited to 'spec/ruby/core/array/fill_spec.rb')
| -rw-r--r-- | spec/ruby/core/array/fill_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/array/fill_spec.rb b/spec/ruby/core/array/fill_spec.rb index 23728414be..524728233b 100644 --- a/spec/ruby/core/array/fill_spec.rb +++ b/spec/ruby/core/array/fill_spec.rb @@ -169,7 +169,7 @@ describe "Array#fill with (filler, index, length)" do [1, 2, 3, 4, 5].fill(-2, -2, &@never_passed).should == [1, 2, 3, 4, 5] end - # See: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/17481 + # See: https://blade.ruby-lang.org/ruby-core/17481 it "does not raise an exception if the given length is negative and its absolute value does not exceed the index" do -> { [1, 2, 3, 4].fill('a', 3, -1)}.should_not raise_error(ArgumentError) -> { [1, 2, 3, 4].fill('a', 3, -2)}.should_not raise_error(ArgumentError) |
