We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4873cd commit 3ae4fd1Copy full SHA for 3ae4fd1
ext/tiny_tds/extconf.rb
@@ -4,9 +4,9 @@
4
if ENV["MAINTAINER_MODE"]
5
warn "Maintainer mode enabled."
6
$CFLAGS <<
7
- " -Wall" <<
8
- " -ggdb" <<
9
- " -DDEBUG" <<
+ " -Wall" \
+ " -ggdb" \
+ " -DDEBUG" \
10
" -pedantic"
11
$LDFLAGS <<
12
" -ggdb"
test/client_test.rb
@@ -47,7 +47,7 @@ class ClientTest < TinyTds::TestCase
47
assert_equal encoding, client.charset
48
assert_equal Encoding.find(encoding), client.encoding
49
ensure
50
- client.close if client
+ client&.close
51
end
52
53
@@ -58,7 +58,7 @@ class ClientTest < TinyTds::TestCase
58
begin
59
client = new_connection dataserver: nil, host: host, port: port
60
61
62
63
64
0 commit comments