Skip to content

Commit

Permalink
[ruby/reline] Initialize uninitialized variables in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aycabta committed Feb 6, 2021
1 parent b69c965 commit 433b975
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/reline/line_editor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ def reset_variables(prompt = '', encoding:)
@scroll_partial_screen = nil
@prev_mode_string = nil
@drop_terminate_spaces = false
@in_pasting = false
@auto_indent_proc = nil
reset_line
end

Expand Down

0 comments on commit 433b975

Please sign in to comment.