blade is hosted under ruby-lang.org now
This commit is contained in:
parent
d8751c0aa7
commit
5abb2ef153
@ -5,7 +5,7 @@ require_relative '../enumerable/shared/enumeratorized'
|
||||
|
||||
# Modifying a collection while the contents are being iterated
|
||||
# gives undefined behavior. See
|
||||
# http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/23633
|
||||
# https://blade.ruby-lang.org/ruby-core/23633
|
||||
|
||||
describe "Array#each_index" do
|
||||
before :each do
|
||||
|
@ -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)
|
||||
|
@ -5,7 +5,7 @@ require_relative '../enumerable/shared/enumeratorized'
|
||||
|
||||
# Modifying a collection while the contents are being iterated
|
||||
# gives undefined behavior. See
|
||||
# http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/23633
|
||||
# https://blade.ruby-lang.org/ruby-core/23633
|
||||
|
||||
describe "Array#reverse_each" do
|
||||
before :each do
|
||||
|
@ -4,7 +4,7 @@ require_relative '../enumerable/shared/enumeratorized'
|
||||
|
||||
# Modifying a collection while the contents are being iterated
|
||||
# gives undefined behavior. See
|
||||
# http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/23633
|
||||
# https://blade.ruby-lang.org/ruby-core/23633
|
||||
|
||||
describe "Array#rindex" do
|
||||
it "returns the first index backwards from the end where element == to object" do
|
||||
|
@ -60,7 +60,7 @@ describe "BigDecimal#add" do
|
||||
end
|
||||
|
||||
# TODO:
|
||||
# http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/17374
|
||||
# https://blade.ruby-lang.org/ruby-core/17374
|
||||
#
|
||||
# This doesn't work on MRI and looks like a bug to me:
|
||||
# one can use BigDecimal + Float, but not Bigdecimal.add(Float)
|
||||
|
Loading…
x
Reference in New Issue
Block a user