diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-04-12 04:52:23 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-04-12 04:52:23 +0000 |
commit | f662d31b6bd229501456b9aaff45b26c4163f928 (patch) | |
tree | 827349949b44873bfb59c919251f7b1613f634fc /ext/coverage | |
parent | 143a2817f229d575b0a55bc9a6ee584b9ed0a76f (diff) | |
download | ruby-f662d31b6bd229501456b9aaff45b26c4163f928.tar.gz |
* 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
Diffstat (limited to 'ext/coverage')
-rw-r--r-- | ext/coverage/coverage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/coverage/coverage.c b/ext/coverage/coverage.c index ed4a69d3db..0c7755bc6d 100644 --- a/ext/coverage/coverage.c +++ b/ext/coverage/coverage.c @@ -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]} |