mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/rake/test_rake_functional.rb (setup): Use __FILE__ for the base
directory. Current directory is not the top source directory when the building process runs on other than there. * test/rake/test_rake_rake_test_loader.rb: ditto. * test/rake/test_rake_task_argument_parsing.rb (test_terminal_width_using_hardcoded_80): hardcoded 80 is used when app.unix? is false. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f99bed9330
commit
fe4ceb25b9
4 changed files with 16 additions and 4 deletions
|
@ -67,7 +67,7 @@ class TestRakeTaskArgumentParsing < Rake::TestCase
|
|||
end
|
||||
|
||||
def test_terminal_width_using_hardcoded_80
|
||||
def @app.unix?() true end
|
||||
def @app.unix?() false end
|
||||
|
||||
assert_equal 80, @app.terminal_width
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue