Skip to content

Commit

Permalink
Fix ruby warning
Browse files Browse the repository at this point in the history
spec/pg/connection_spec.rb:589: warning: assigned but unused variable - res
  • Loading branch information
larskanis committed Jul 28, 2024
1 parent d17123c commit 8e62c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/pg/connection_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@
Thread.current.report_on_exception = false
expect do
threaded_conn = PG.connect( @conninfo + " sslcert=tmp_test_specs/data/ruby-pg-ca-cert" )
res = threaded_conn.exec("SELECT 1")
threaded_conn.exec("SELECT 1")
threaded_conn.close
end.not_to raise_error
end
Expand Down

0 comments on commit 8e62c81

Please sign in to comment.