blade is hosted under ruby-lang.org now

This commit is contained in:
Hiroshi SHIBATA 2023-01-23 12:29:50 +09:00
parent d8751c0aa7
commit 5abb2ef153
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2
5 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@ require_relative '../enumerable/shared/enumeratorized'
# Modifying a collection while the contents are being iterated # Modifying a collection while the contents are being iterated
# gives undefined behavior. See # 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 describe "Array#each_index" do
before :each do before :each do

View File

@ -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] [1, 2, 3, 4, 5].fill(-2, -2, &@never_passed).should == [1, 2, 3, 4, 5]
end 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 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, -1)}.should_not raise_error(ArgumentError)
-> { [1, 2, 3, 4].fill('a', 3, -2)}.should_not raise_error(ArgumentError) -> { [1, 2, 3, 4].fill('a', 3, -2)}.should_not raise_error(ArgumentError)

View File

@ -5,7 +5,7 @@ require_relative '../enumerable/shared/enumeratorized'
# Modifying a collection while the contents are being iterated # Modifying a collection while the contents are being iterated
# gives undefined behavior. See # 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 describe "Array#reverse_each" do
before :each do before :each do

View File

@ -4,7 +4,7 @@ require_relative '../enumerable/shared/enumeratorized'
# Modifying a collection while the contents are being iterated # Modifying a collection while the contents are being iterated
# gives undefined behavior. See # 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 describe "Array#rindex" do
it "returns the first index backwards from the end where element == to object" do it "returns the first index backwards from the end where element == to object" do

View File

@ -60,7 +60,7 @@ describe "BigDecimal#add" do
end end
# TODO: # 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: # This doesn't work on MRI and looks like a bug to me:
# one can use BigDecimal + Float, but not Bigdecimal.add(Float) # one can use BigDecimal + Float, but not Bigdecimal.add(Float)