diff options
Diffstat (limited to 'monkey/edits.py')
-rw-r--r-- | monkey/edits.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monkey/edits.py b/monkey/edits.py index 447b71b..7ebb034 100644 --- a/monkey/edits.py +++ b/monkey/edits.py @@ -101,7 +101,7 @@ def get_edits_from_trace(trace, test, id): elif action.offset == pos_end: if (prev_action is None or prev_action.type == 'insert' and prev_action.offset == action.offset-1 or - prev_action.type == 'remove' and prev_action.offset == action.offset-1): + prev_action.type == 'remove' and prev_action.offset == action.offset): orig_next = None for terminal in start_tree.leaves(): if terminal.pos >= start_tokens[-1].pos + len(start_tokens[-1].val): |