diff options
author | svn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-20 05:33:13 +0000 |
---|---|---|
committer | svn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-20 05:33:13 +0000 |
commit | 807660197625d51ecf37082ce61c50916f0f3524 (patch) | |
tree | 9e2e01fed797b3cc093521c1936925b48fa0c9c0 /ext | |
parent | 47ea999b4689fc591478a05da1670d2008a4a705 (diff) | |
download | ruby-807660197625d51ecf37082ce61c50916f0f3524.tar.gz |
* expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-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 cf6e0a83c8..c7f5a5e34b 100644 --- a/ext/coverage/coverage.c +++ b/ext/coverage/coverage.c @@ -45,7 +45,7 @@ rb_coverage_start(int argc, VALUE *argv, VALUE klass) mode |= COVERAGE_TARGET_BRANCHES; if (RTEST(rb_hash_lookup(opt, ID2SYM(rb_intern("methods"))))) mode |= COVERAGE_TARGET_METHODS; - if (RTEST(rb_hash_lookup(opt, ID2SYM(rb_intern("oneshot_lines"))))) { + if (RTEST(rb_hash_lookup(opt, ID2SYM(rb_intern("oneshot_lines"))))) { if (mode & COVERAGE_TARGET_LINES) rb_raise(rb_eRuntimeError, "cannot enable lines and oneshot_lines simultaneously"); mode |= COVERAGE_TARGET_LINES; @@ -185,7 +185,7 @@ coverage_peek_result_i(st_data_t key, st_data_t val, st_data_t h) const char *kw = (current_mode & COVERAGE_TARGET_ONESHOT_LINES) ? "oneshot_lines" : "lines"; lines = rb_ary_dup(lines); rb_ary_freeze(lines); - rb_hash_aset(h, ID2SYM(rb_intern(kw)), lines); + rb_hash_aset(h, ID2SYM(rb_intern(kw)), lines); } if (current_mode & COVERAGE_TARGET_BRANCHES) { |