Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rubocop requirement from 1.44.1 to 1.47.0 #368

Merged
merged 2 commits into from
Mar 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gem "minitest", "~> 5.11"
gem "minitest-ci", "~> 3.4"
gem "minitest-reporters", "~> 1.3"
gem "rake", "~> 13.0"
gem "rubocop", "1.44.1"
gem "rubocop", "1.47.0"
gem "rubocop-md", "1.2.0"
gem "rubocop-minitest", "0.28.0"
gem "rubocop-packaging", "0.5.2"
Expand Down
4 changes: 2 additions & 2 deletions test/tomo/cli_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def test_prints_error_when_config_has_syntax_error
CONFIG
end
@tester.run "deploy", raise_on_error: false
assert_match(<<~'OUTPUT'.strip, @tester.stderr.gsub(/^ /, ""))
assert_match(<<~OUTPUT.strip, @tester.stderr.gsub(/^ /, ""))
ERROR: Configuration syntax error in .tomo/config.rb at line 4.

3: run "git:clone
Expand All @@ -59,7 +59,7 @@ def test_prints_error_when_config_dsl_is_used_incorrectly
CONFIG
end
@tester.run "deploy", raise_on_error: false
assert_equal(<<~'OUTPUT', @tester.stderr.gsub(/^ /, ""))
assert_equal(<<~OUTPUT, @tester.stderr.gsub(/^ /, ""))

ERROR: Configuration syntax error in .tomo/config.rb at line 3.

Expand Down
2 changes: 1 addition & 1 deletion test/tomo/plugin/nodenv/tasks_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def test_install_modifies_bashrc
end

def test_install_does_not_modify_bashrc_if_already_modified
bashrc = <<~'SH'
bashrc = <<~SH
if [ -d $HOME/.nodenv ]; then
export PATH="$HOME/.nodenv/bin:$PATH"
eval "$(nodenv init -)"
Expand Down