Skip to content

Add regression specs - #1066

Closed
apiology wants to merge 65 commits into
castwide:masterfrom
apiology:add_regression_specs
Closed

apiology wants to merge 65 commits into
castwide:masterfrom
apiology:add_regression_specs

Conversation

@apiology

@apiology apiology commented Sep 4, 2025 •

Copy link
Copy Markdown
Contributor

No additional code, just specs

Includes for convenience:

To avoid merge conflicts and contributors having to deal with
non-intuitive RuboCop todo changes:

* Lock down development versions of RuboCop and plugins so that
  unrelated PRs aren't affected by newly implemented RuboCop rules.
* Exclude rule entirely if more than 5 files violate it today, so that
  PRs are less likely to cause todo file changes unless they are
  specifically targeted at cleanup.
* Clarify guidance on RuboCop todo file in CI error message.
* Fix to hopefully ensure guidance always appears in CI error message.

xit 'tracks complex multiple assignment' do
it 'tracks complex multiple assignment' do
pending('complex multiple assignment support')

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has the advantage that when it starts working again, it will fail so you must enable it again.

Comment thread spec/shell_spec.rb
File.open(File.join(temp_dir, 'Gemfile'), 'w') do |file|
file.puts "source 'https://rubygems.org'"
file.puts "gem 'solargraph', path: #{File.expand_path('..', __dir__)}"
file.puts "gem 'solargraph', path: '#{File.expand_path('..', __dir__)}'"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not quite sure why this worked...

@apiology

apiology commented Mar 2, 2026

Copy link
Copy Markdown
Contributor Author

Merged into v0.59 release branch

@apiology apiology closed this Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant