ruby-changes:49236
From: mame <ko1@a...>
Date: Wed, 20 Dec 2017 13:45:08 +0900 (JST)
Subject: [ruby-changes:49236] mame:r61352 (trunk): test/coverage/test_coverage.rb: make the expected value the same as 2.4
mame 2017-12-20 13:45:05 +0900 (Wed, 20 Dec 2017) New Revision: 61352 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61352 Log: test/coverage/test_coverage.rb: make the expected value the same as 2.4 A follow up of r61350 Modified files: trunk/test/coverage/test_coverage.rb Index: test/coverage/test_coverage.rb =================================================================== --- test/coverage/test_coverage.rb (revision 61351) +++ test/coverage/test_coverage.rb (revision 61352) @@ -203,7 +203,7 @@ class TestCoverage < Test::Unit::TestCas https://github.com/ruby/ruby/blob/trunk/test/coverage/test_coverage.rb#L203 def test_line_coverage_for_multiple_lines result = { - :lines => [nil, 1, nil, nil, nil, 1, nil, nil, nil, 1, nil, 1, nil, nil, nil, nil, 1, 1, nil, 1, nil, nil, nil, nil, 1] + :lines => [1, nil, nil, nil, nil, nil, 1, nil, 1, nil, nil, nil, nil, nil, 1, nil, 1, 1, 1, nil, nil, nil, nil, nil, 1] } assert_coverage(<<~"end;", { lines: true }, result) # Bug #14191 FOO = [ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/