Skip to content

Commit

Permalink
Fix syntax suggest spec
Browse files Browse the repository at this point in the history
  • Loading branch information
JonRowe committed Jun 27, 2023
1 parent 218349e commit 0f77f17
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spec/integration/spec_file_load_errors_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,13 @@ def foo
Unmatched keyword, missing `end' ?
1 class WorkInProgress
> 2 def initialize(arg)
EOS
if RUBY_VERSION.to_f > 3.2
expect(formatted_output).to include unindent(<<-EOS)
3 def foo
EOS
end
expect(formatted_output).to include unindent(<<-EOS)
4 end
5 end
EOS
Expand Down

0 comments on commit 0f77f17

Please sign in to comment.