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:
parent
63a4f2f93f
commit
e4dbb91f4c
4 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
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>
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ module Bundler
|
|||
FileUtils.rm_rf spec.full_gem_path
|
||||
when Source::Git
|
||||
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
|
||||
end
|
||||
|
||||
|
|
|
@ -93,7 +93,7 @@ RSpec.describe "bundle pristine", :ruby_repo do
|
|||
|
||||
bundle "pristine"
|
||||
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
|
||||
|
||||
|
|
|
@ -230,13 +230,13 @@ class TC_OpenStruct < Test::Unit::TestCase
|
|||
assert_nil os.foo
|
||||
end
|
||||
|
||||
def test_overriden_private_methods
|
||||
def test_overridden_private_methods
|
||||
os = OpenStruct.new(puts: :foo, format: :bar)
|
||||
assert_equal(:foo, os.puts)
|
||||
assert_equal(:bar, os.format)
|
||||
end
|
||||
|
||||
def test_overriden_public_methods
|
||||
def test_overridden_public_methods
|
||||
os = OpenStruct.new(method: :foo, class: :bar)
|
||||
assert_equal(:foo, os.method)
|
||||
assert_equal(:bar, os.class)
|
||||
|
|
Loading…
Add table
Reference in a new issue