1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Use Integer instead of Fixnum/Bignum

This commit is contained in:
Nobuyoshi Nakada 2020-12-21 01:16:26 +09:00
parent fb8f011422
commit 9c73c75624
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6
144 changed files with 392 additions and 390 deletions

View file

@ -1,6 +1,6 @@
require_relative '../../spec_helper'
describe "Integer#upto [stop] when self and stop are Fixnums" do
describe "Integer#upto [stop] when self and stop are Integers" do
it "does not yield when stop is less than self" do
result = []
5.upto(4) { |x| result << x }