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

* ext/coverage/coverage.c: Remove extension from require argument.

[ci skip][fix GH-870] Patch by @yui-knk

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2015-04-12 04:52:23 +00:00
parent 143a2817f2
commit f662d31b6b
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Sun Apr 12 13:52:18 2015 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* ext/coverage/coverage.c: Remove extension from require argument.
[ci skip][fix GH-870] Patch by @yui-knk
Sun Apr 12 10:29:14 2015 Eric Wong <e@80x24.org>
* ext/openssl/ossl_ssl.c (ossl_ssl_connect_nonblock):

View file

@ -93,7 +93,7 @@ rb_coverage_result(VALUE klass)
*
* = Usage
*
* 1. require "coverage.so"
* 1. require "coverage"
* 2. do Coverage.start
* 3. require or load Ruby source file
* 4. Coverage.result will return a hash that contains filename as key and
@ -116,7 +116,7 @@ rb_coverage_result(VALUE klass)
* end
* [EOF]
*
* require "coverage.so"
* require "coverage"
* Coverage.start
* require "foo.rb"
* p Coverage.result #=> {"foo.rb"=>[1, 1, 10, nil, nil, 1, 1, nil, 0, nil]}