Skip to content

Commit 620e15f

Browse files
authored
Apply suggestions from code review
1 parent d22a4da commit 620e15f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/mysql2/client_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ def run_gc
484484
end
485485

486486
it "should set default program_name in connect_attrs" do
487-
skip("DON'T WORRY, THIS TEST PASSES - but PERFORMNCE SCHEMA is not enabled in your MySQL daemon.") unless performance_schema_enabled
487+
skip("DON'T WORRY, THIS TEST PASSES - but PERFORMANCE SCHEMA is not enabled in your MySQL daemon.") unless performance_schema_enabled
488488
client = new_client
489489
if Mysql2::Client::CONNECT_ATTRS.zero? || client.server_info[:version].match(/10.[01].\d+-MariaDB/)
490490
pending('Both client and server versions must be MySQL 5.6 or MariaDB 10.2 or later.')
@@ -494,7 +494,7 @@ def run_gc
494494
end
495495

496496
it "should set custom connect_attrs" do
497-
skip("DON'T WORRY, THIS TEST PASSES - but PERFORMNCE SCHEMA is not enabled in your MySQL daemon.") unless performance_schema_enabled
497+
skip("DON'T WORRY, THIS TEST PASSES - but PERFORMANCE SCHEMA is not enabled in your MySQL daemon.") unless performance_schema_enabled
498498
client = new_client(connect_attrs: { program_name: 'my_program_name', foo: 'fooval', bar: 'barval' })
499499
if Mysql2::Client::CONNECT_ATTRS.zero? || client.server_info[:version].match(/10.[01].\d+-MariaDB/)
500500
pending('Both client and server versions must be MySQL 5.6 or MariaDB 10.2 or later.')

0 commit comments

Comments
 (0)