Skip to content

Commit

Permalink
Change a tab to spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
yui-knk committed Oct 17, 2022
1 parent ba9c0d0 commit e4191ac
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/coverage/test_coverage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -207,19 +207,19 @@ def test_coverage_optimized_branch
def test_coverage_ensure_if_return
result = {
:branches => {
[:if, 0, 3, 1, 6, 4] => {
[:then, 1, 3, 6, 3, 6] => 0,
[:else, 2, 5, 3, 5, 9] => 1,
},
[:if, 0, 3, 2, 6, 5] => {
[:then, 1, 3, 7, 3, 7] => 0,
[:else, 2, 5, 4, 5, 10] => 1,
},
},
}
assert_coverage(<<~"end;", { branches: true }, result)
def flush
ensure
if $!
else
return
end
if $!
else
return
end
end
flush
end;
Expand Down

0 comments on commit e4191ac

Please sign in to comment.