From 4fd79be0a2ec3040aa2a000de15316956bbddc58 Mon Sep 17 00:00:00 2001 From: Daniel Gollahon Date: Tue, 15 Dec 2020 03:38:07 -0800 Subject: [PATCH] Mutation kill TODO -- ?? --- lib/mutant/mutator/node/literal/regex.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/mutant/mutator/node/literal/regex.rb b/lib/mutant/mutator/node/literal/regex.rb index 064d58720..adf95beda 100644 --- a/lib/mutant/mutator/node/literal/regex.rb +++ b/lib/mutant/mutator/node/literal/regex.rb @@ -63,6 +63,8 @@ def body_expression # # @return [Array] 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