Skip to content

Commit 9d2fa9c

Browse files
committed
Adjust expected error message
1 parent c733747 commit 9d2fa9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/thread_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class ThreadTest < TinyTds::TestCase
6565
result = client.execute "waitfor delay '00:00:#{delay}'; select db_name()"
6666
result.each { |r| puts r }
6767
rescue TinyTds::Error => e
68-
if e.message == "Adaptive Server connection timed out"
68+
if e.message.include?("connection timed out")
6969
exception = true
7070
end
7171
end

0 commit comments

Comments
 (0)