mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +02:00
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
85d461456c
commit
73c8b1ea29
6 changed files with 17 additions and 17 deletions
|
@ -451,23 +451,23 @@ ERROR: Possible alternatives: non_existent_with_hint
|
|||
specs = spec_fetcher do |fetcher|
|
||||
fetcher.gem 'a', 2
|
||||
end
|
||||
|
||||
|
||||
Gem.done_installing(&Gem::RDoc.method(:generation_hook))
|
||||
|
||||
|
||||
@cmd.options[:document] = %w[rdoc ri]
|
||||
@cmd.options[:domain] = :local
|
||||
@cmd.options[:install_dir] = 'whatever'
|
||||
|
||||
|
||||
a2 = specs['a-2']
|
||||
FileUtils.mv a2.cache_file, @tempdir
|
||||
|
||||
|
||||
@cmd.options[:args] = %w[a]
|
||||
|
||||
|
||||
use_ui @ui do
|
||||
# Don't use Dir.chdir with a block, it warnings a lot because
|
||||
# of a downstream Dir.chdir with a block
|
||||
old = Dir.getwd
|
||||
|
||||
|
||||
begin
|
||||
Dir.chdir @tempdir
|
||||
assert_raises Gem::MockGemUi::SystemExitException, @ui.error do
|
||||
|
@ -477,9 +477,9 @@ ERROR: Possible alternatives: non_existent_with_hint
|
|||
Dir.chdir old
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
wait_for_child_process_to_exit
|
||||
|
||||
|
||||
assert_path_exists 'whatever/doc/a-2', 'documentation not installed'
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue