ruby-changes:64580
From: Marcus <ko1@a...>
Date: Fri, 25 Dec 2020 07:22:32 +0900 (JST)
Subject: [ruby-changes:64580] 93a1ef6709 (master): Fix typos
https://git.ruby-lang.org/ruby.git/commit/?id=93a1ef6709 From 93a1ef67095c6654df753b2ecf8a4e36fe2a22c6 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer <sto.mar@w...> Date: Thu, 24 Dec 2020 23:20:04 +0100 Subject: Fix typos diff --git a/spec/ruby/core/module/attr_accessor_spec.rb b/spec/ruby/core/module/attr_accessor_spec.rb index a5455e4..e6a6ac7 100644 --- a/spec/ruby/core/module/attr_accessor_spec.rb +++ b/spec/ruby/core/module/attr_accessor_spec.rb @@ -76,7 +76,7 @@ describe "Module#attr_accessor" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/module/attr_accessor_spec.rb#L76 end ruby_version_is "3.0" do - it "returns an array of defined methods names as symbols" do + it "returns an array of defined method names as symbols" do Class.new do (attr_accessor :foo, 'bar').should == [:foo, :foo=, :bar, :bar=] end diff --git a/spec/ruby/core/module/attr_reader_spec.rb b/spec/ruby/core/module/attr_reader_spec.rb index e40ae88..b0ae906 100644 --- a/spec/ruby/core/module/attr_reader_spec.rb +++ b/spec/ruby/core/module/attr_reader_spec.rb @@ -71,7 +71,7 @@ describe "Module#attr_reader" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/module/attr_reader_spec.rb#L71 end ruby_version_is "3.0" do - it "returns an array of defined methods names as symbols" do + it "returns an array of defined method names as symbols" do Class.new do (attr_reader :foo, 'bar').should == [:foo, :bar] end diff --git a/spec/ruby/core/module/attr_spec.rb b/spec/ruby/core/module/attr_spec.rb index 55c8a7d..33e0eb8 100644 --- a/spec/ruby/core/module/attr_spec.rb +++ b/spec/ruby/core/module/attr_spec.rb @@ -157,7 +157,7 @@ describe "Module#attr" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/module/attr_spec.rb#L157 end ruby_version_is "3.0" do - it "returns an array of defined methods names as symbols" do + it "returns an array of defined method names as symbols" do Class.new do (attr :foo, 'bar').should == [:foo, :bar] (attr :baz, false).should == [:baz] diff --git a/spec/ruby/core/module/attr_writer_spec.rb b/spec/ruby/core/module/attr_writer_spec.rb index 056cfcf..dbf30c8 100644 --- a/spec/ruby/core/module/attr_writer_spec.rb +++ b/spec/ruby/core/module/attr_writer_spec.rb @@ -71,7 +71,7 @@ describe "Module#attr_writer" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/module/attr_writer_spec.rb#L71 end ruby_version_is "3.0" do - it "returns an array of defined methods names as symbols" do + it "returns an array of defined method names as symbols" do Class.new do (attr_writer :foo, 'bar').should == [:foo=, :bar=] end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/