Skip to content
This repository was archived by the owner on Jan 21, 2025. It is now read-only.

Commit a786cf5

Browse files
committed
restore disable
1 parent 9babaf3 commit a786cf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/mysql2/statement_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ def stmt_count
319319
it "should throw an exception if we try to iterate twice when streaming is enabled" do
320320
result = @client.prepare("SELECT 1 UNION SELECT 2").execute(stream: true, cache_rows: false)
321321
expect do
322-
result.each {}
322+
result.each {} # rubocop:disable Style/CombinableLoops
323323
result.each {}
324324
end.to raise_exception(Mysql2::Error)
325325
end

0 commit comments

Comments
 (0)