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

Fix typos [ci skip]

s/overriden/overridden/
This commit is contained in:
Kazuhiro NISHIYAMA 2020-09-17 20:34:59 +09:00
parent 63a4f2f93f
commit e4dbb91f4c
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A
4 changed files with 5 additions and 5 deletions

View file

@ -92076,7 +92076,7 @@ Mon Sep 1 16:59:10 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (rb_thread_start_0): should not error_print() within * eval.c (rb_thread_start_0): should not error_print() within
terminated thread, because $stderr used by it might be terminated thread, because $stderr used by it might be
overriden now. [ruby-dev:21280] overridden now. [ruby-dev:21280]
Sun Aug 31 22:46:55 2003 WATANABE Hirofumi <eban@ruby-lang.org> Sun Aug 31 22:46:55 2003 WATANABE Hirofumi <eban@ruby-lang.org>

View file

@ -30,7 +30,7 @@ module Bundler
FileUtils.rm_rf spec.full_gem_path FileUtils.rm_rf spec.full_gem_path
when Source::Git when Source::Git
if source.local? if source.local?
Bundler.ui.warn("Cannot pristine #{gem_name}. Gem is locally overriden.") Bundler.ui.warn("Cannot pristine #{gem_name}. Gem is locally overridden.")
next next
end end

View file

@ -93,7 +93,7 @@ RSpec.describe "bundle pristine", :ruby_repo do
bundle "pristine" bundle "pristine"
expect(changes_txt).to be_file expect(changes_txt).to be_file
expect(err).to include("Cannot pristine #{spec.name} (#{spec.version}#{spec.git_version}). Gem is locally overriden.") expect(err).to include("Cannot pristine #{spec.name} (#{spec.version}#{spec.git_version}). Gem is locally overridden.")
end end
end end

View file

@ -230,13 +230,13 @@ class TC_OpenStruct < Test::Unit::TestCase
assert_nil os.foo assert_nil os.foo
end end
def test_overriden_private_methods def test_overridden_private_methods
os = OpenStruct.new(puts: :foo, format: :bar) os = OpenStruct.new(puts: :foo, format: :bar)
assert_equal(:foo, os.puts) assert_equal(:foo, os.puts)
assert_equal(:bar, os.format) assert_equal(:bar, os.format)
end end
def test_overriden_public_methods def test_overridden_public_methods
os = OpenStruct.new(method: :foo, class: :bar) os = OpenStruct.new(method: :foo, class: :bar)
assert_equal(:foo, os.method) assert_equal(:foo, os.method)
assert_equal(:bar, os.class) assert_equal(:bar, os.class)