[#84280] [Ruby trunk Bug#14181] hangs or deadlocks from waitpid, threads, and trapping SIGCHLD — nobu@...
Issue #14181 has been updated by nobu (Nobuyoshi Nakada).
3 messages
2017/12/15
[#84398] [Ruby trunk Bug#14220] WEBrick changes - failures on MSWIN, MinGW — Greg.mpls@...
Issue #14220 has been reported by MSP-Greg (Greg L).
3 messages
2017/12/22
[#84472] Re: [ruby-dev:50394] [Ruby trunk Bug#14240] warn four special variables: $; $, $/ $\ — Eric Wong <normalperson@...>
Shouldn't English posts be on ruby-core instead of ruby-dev?
3 messages
2017/12/26
[ruby-core:84322] [Ruby trunk Bug#14191] Coverage decreased between 2.4.3 and 2.5.0rc1
From:
mame@...
Date:
2017-12-18 02:57:33 UTC
List:
ruby-core #84322
Issue #14191 has been updated by mame (Yusuke Endoh).
I have just fixed the issue. I'd appreciate if you could try r61313 and tell me if the coverage is measured correctly.
Your report was *really* helpful. Thank you very much!
----------------------------------------
Bug #14191: Coverage decreased between 2.4.3 and 2.5.0rc1
https://bugs.ruby-lang.org/issues/14191#change-68484
* Author: kddeisz (Kevin Deisz)
* Status: Closed
* Priority: Normal
* Assignee: mame (Yusuke Endoh)
* Target version: 2.5
* ruby -v: 2.5.0rc1
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
Just ran the test suite on my Rails app on the new rc and noticed that the coverage dropped by a full 3%. After some investigation discovered a lot of lines aren't being reported as covered anymore even though they clearly are. Here are all of the instances that I found that don't report coverage when they should:
~~~ ruby
# test.rb
require 'coverage'
Coverage.start
require_relative './file.rb'
p Coverage.result
~~~
~~~ruby
# file.rb
FOO = [
{ foo: 'bar' },
{ bar: 'baz' }
]
'some string'.split
.map(&:length)
some =
'value'
Struct.new(
:foo,
:bar
).new
class Test
def foo(bar)
{
foo: bar
}
end
end
Test.new.foo(Object.new)
~~~
In this case we're not getting coverage on the constant assignment, on the second method of the string manipulation, on the multi-line assignment, on the instantiation of the struct, or on the return value of the Test#foo method.
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>