1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* file.c (rb_f_test): Fix formatting of Kernel#test rdoc.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2012-02-21 23:02:29 +00:00
parent 8963f50f26
commit 9dc0d6fe63
2 changed files with 7 additions and 4 deletions

View file

@ -1,3 +1,7 @@
Wed Feb 22 06:48:55 2012 Eric Hodel <drbrain@segment7.net>
* file.c (rb_f_test): Fix formatting of Kernel#test rdoc.
Wed Feb 22 06:12:15 2012 Tanaka Akira <akr@fsij.org>
* ext/dbm/extconf.rb: check DBM_SUFFIX for Mac OS X.

7
file.c
View file

@ -4209,9 +4209,8 @@ test_check(int n, int argc, VALUE *argv)
* call-seq:
* test(int_cmd, file1 [, file2] ) -> obj
*
* Uses the integer <i>aCmd</i> to perform various tests on
* <i>file1</i> (first table below) or on <i>file1</i> and
* <i>file2</i> (second table).
* Uses the integer +int_cmd+ to perform various tests on +file1+ (first
* table below) or on +file1+ and +file2+ (second table).
*
* File tests on a single file:
*
@ -4253,7 +4252,7 @@ test_check(int n, int argc, VALUE *argv)
* | | the real uid/gid
* "z" | boolean | True if file1 exists and has a zero length
*
* Tests that take two files:
* Tests that take two files:
*
* "-" | boolean | True if file1 and file2 are identical
* "=" | boolean | True if the modification times of file1