Skip to content

Commit 8e62c81

Browse files
committed
Fix ruby warning
spec/pg/connection_spec.rb:589: warning: assigned but unused variable - res
1 parent d17123c commit 8e62c81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/pg/connection_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@
586586
Thread.current.report_on_exception = false
587587
expect do
588588
threaded_conn = PG.connect( @conninfo + " sslcert=tmp_test_specs/data/ruby-pg-ca-cert" )
589-
res = threaded_conn.exec("SELECT 1")
589+
threaded_conn.exec("SELECT 1")
590590
threaded_conn.close
591591
end.not_to raise_error
592592
end

0 commit comments

Comments
 (0)