Skip to content

Conversation

@colorbox
Copy link
Contributor

@colorbox colorbox commented Feb 1, 2023

There are some tests fail with messages below.

SSHKit::TestConfiguration
  test_nil_deprecation_output                                    ERROR (0.00s)
Minitest::UnexpectedError:         NameError: uninitialized constant SSHKit::DeprecationLogger::Set
        Did you mean?  Net
            /Users/colorbox/.ghq/github.com/capistrano/sshkit/lib/sshkit/deprecation_logger.rb:5:in `initialize'
            /Users/colorbox/.ghq/github.com/capistrano/sshkit/lib/sshkit/configuration.rb:21:in `new'
            /Users/colorbox/.ghq/github.com/capistrano/sshkit/lib/sshkit/configuration.rb:21:in `deprecation_output='
            /Users/colorbox/.ghq/github.com/capistrano/sshkit/test/unit/test_configuration.rb:25:in `test_nil_deprecation_output'

This PR add require 'set' to avoid raise NameError.

There are some tests fail with messages below.
```
SSHKit::TestConfiguration
  test_nil_deprecation_output                                    ERROR (0.00s)
Minitest::UnexpectedError:         NameError: uninitialized constant SSHKit::DeprecationLogger::Set
        Did you mean?  Net
            /Users/colorbox/.ghq/github.com/capistrano/sshkit/lib/sshkit/deprecation_logger.rb:5:in `initialize'
            /Users/colorbox/.ghq/github.com/capistrano/sshkit/lib/sshkit/configuration.rb:21:in `new'
            /Users/colorbox/.ghq/github.com/capistrano/sshkit/lib/sshkit/configuration.rb:21:in `deprecation_output='
            /Users/colorbox/.ghq/github.com/capistrano/sshkit/test/unit/test_configuration.rb:25:in `test_nil_deprecation_output'
```

This PR add `require 'set'` to avoid raise NameError.
@mattbrictson mattbrictson added the 🏠 Housekeeping Non-user facing cleanup and maintenance label Feb 1, 2023
@mattbrictson
Copy link
Member

Perfect, thanks for the fix!

@mattbrictson mattbrictson merged commit 44e651e into capistrano:master Feb 1, 2023
@colorbox colorbox deleted the fix_filing_test_with_set_gem branch February 2, 2023 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏠 Housekeeping Non-user facing cleanup and maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants