Skip to content

Commit cca57b9

Browse files
committed
fix assertion on maria
downgrade psych
1 parent 1e0f462 commit cca57b9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ gem 'irb', require: false
1515
group :test do
1616
gem 'eventmachine' unless RUBY_PLATFORM =~ /mswin|mingw/
1717
gem 'rspec', '~> 3.2'
18+
19+
# Downgrade psych because old RuboCop can't use new Psych
20+
gem 'psych', '~> 3.3.2'
1821
# https://github.com/bbatsov/rubocop/pull/4789
1922
gem 'rubocop', '~> 0.50.0'
2023
end

spec/mysql2/client_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ def run_gc
604604
end
605605
expect do
606606
@client.query("SELECT SLEEP(1)")
607-
end.to raise_error(Mysql2::Error, /Lost connection to MySQL server/)
607+
end.to raise_error(Mysql2::Error, /Lost connection/)
608608

609609
if RUBY_PLATFORM !~ /mingw|mswin/
610610
expect do

0 commit comments

Comments
 (0)