We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e0f462 commit cca57b9Copy full SHA for cca57b9
Gemfile
@@ -15,6 +15,9 @@ gem 'irb', require: false
15
group :test do
16
gem 'eventmachine' unless RUBY_PLATFORM =~ /mswin|mingw/
17
gem 'rspec', '~> 3.2'
18
+
19
+ # Downgrade psych because old RuboCop can't use new Psych
20
+ gem 'psych', '~> 3.3.2'
21
# https://github.com/bbatsov/rubocop/pull/4789
22
gem 'rubocop', '~> 0.50.0'
23
end
spec/mysql2/client_spec.rb
@@ -604,7 +604,7 @@ def run_gc
604
605
expect do
606
@client.query("SELECT SLEEP(1)")
607
- end.to raise_error(Mysql2::Error, /Lost connection to MySQL server/)
+ end.to raise_error(Mysql2::Error, /Lost connection/)
608
609
if RUBY_PLATFORM !~ /mingw|mswin/
610
0 commit comments