diff options
Diffstat (limited to 'test/reline/yamatanooroti/termination_checker.rb')
-rw-r--r-- | test/reline/yamatanooroti/termination_checker.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/reline/yamatanooroti/termination_checker.rb b/test/reline/yamatanooroti/termination_checker.rb index 24fb24c4b1..256f1bb2a2 100644 --- a/test/reline/yamatanooroti/termination_checker.rb +++ b/test/reline/yamatanooroti/termination_checker.rb @@ -19,8 +19,8 @@ end class AutoIndent < RubyLex def initialize - set_input(self) - context = Struct.new(:auto_indent_mode, :workspace).new(true, nil) + context = Struct.new("MockIRBContext", :auto_indent_mode, :workspace, :local_variables).new(true, nil, []) + set_input(self, context: context) set_auto_indent(context) end |