Skip to content

Commit

Permalink
Mutation kill TODO -- ??
Browse files Browse the repository at this point in the history
  • Loading branch information
dgollahon committed Dec 20, 2020
1 parent cae8d6b commit 4fd79be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/mutant/mutator/node/literal/regex.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ def body_expression
#
# @return [Array<Parser::AST::Node>]
def body
# TODO: also: kill 0...1 mutation -- how the heck does this happen?
# manually inserting it causes unit tests to fail.
children.slice(0...-1)
end

Expand Down

0 comments on commit 4fd79be

Please sign in to comment.