mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
874f8c0494
metaprogramming in FileUtils occurred. [ruby-trunk - Bug #7958] * test/fileutils/visibility_tests.rb: Refactored tests of FileUtils options modules to expose bug found in #7958 * test/fileutils/test_dryrun.rb: ditto. * test/fileutils/test_nowrite.rb: ditto. * test/fileutils/test_verbose.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
17 lines
271 B
Ruby
17 lines
271 B
Ruby
# $Id$
|
|
|
|
require 'fileutils'
|
|
require 'test/unit'
|
|
require_relative 'visibility_tests'
|
|
|
|
class TestFileUtilsNoWrite < Test::Unit::TestCase
|
|
|
|
include FileUtils::NoWrite
|
|
include TestFileUtils::Visibility
|
|
|
|
def setup
|
|
super
|
|
@fu_module = FileUtils::NoWrite
|
|
end
|
|
|
|
end
|