mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/test_file_exhaustive.rb (test_lchmod): merge mistake of r55347.
(cf. [Backport #12340]) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@55367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ef2c94bc39
commit
3c7a96bfa2
2 changed files with 2 additions and 2 deletions
|
|
@ -459,7 +459,7 @@ class TestFileExhaustive < Test::Unit::TestCase
|
|||
[@file, @utf8_file].each do |file|
|
||||
assert_equal(1, File.lchmod(0444, file))
|
||||
assert_equal(0444, File.stat(file).mode % 01000)
|
||||
File.lchmod(0600, regular_file)
|
||||
File.lchmod(0600, file)
|
||||
end
|
||||
assert_raise(Errno::ENOENT) { File.lchmod(0600, @nofile) }
|
||||
rescue NotImplementedError
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#define RUBY_VERSION "2.2.6"
|
||||
#define RUBY_RELEASE_DATE "2016-06-10"
|
||||
#define RUBY_PATCHLEVEL 339
|
||||
#define RUBY_PATCHLEVEL 340
|
||||
|
||||
#define RUBY_RELEASE_YEAR 2016
|
||||
#define RUBY_RELEASE_MONTH 6
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue