Skip to content

Commit cc875b6

Browse files
authored
Refactor DB.open block syntax in spec_helper.cr
Fix ``` [C] Naming/BlockParameterName: Disallowed block parameter name found ```
1 parent 349d037 commit cc875b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/spec_helper.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module CQLSpecSupport
2424
return cached unless cached.nil?
2525

2626
@@postgres_available = begin
27-
DB.open(postgres_database_url) do |db|
27+
DB.open(postgres_database_url) do
2828
db.scalar("SELECT 1")
2929
true
3030
end

0 commit comments

Comments
 (0)