Skip to content

Commit

Permalink
fix assertion on maria
Browse files Browse the repository at this point in the history
downgrade psych
  • Loading branch information
tenderlove committed Nov 30, 2021
1 parent 1e0f462 commit cca57b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Gemfile
Expand Up @@ -15,6 +15,9 @@ gem 'irb', require: false
group :test do
gem 'eventmachine' unless RUBY_PLATFORM =~ /mswin|mingw/
gem 'rspec', '~> 3.2'

# Downgrade psych because old RuboCop can't use new Psych
gem 'psych', '~> 3.3.2'
# https://github.com/bbatsov/rubocop/pull/4789
gem 'rubocop', '~> 0.50.0'
end
Expand Down
2 changes: 1 addition & 1 deletion spec/mysql2/client_spec.rb
Expand Up @@ -604,7 +604,7 @@ def run_gc
end
expect do
@client.query("SELECT SLEEP(1)")
end.to raise_error(Mysql2::Error, /Lost connection to MySQL server/)
end.to raise_error(Mysql2::Error, /Lost connection/)

if RUBY_PLATFORM !~ /mingw|mswin/
expect do
Expand Down

0 comments on commit cca57b9

Please sign in to comment.